Commit Graph

50 Commits

Author SHA1 Message Date
Keegan George 75f8cd9aa1 DEV: Cleanup comments and commented code 2022-07-28 07:23:38 -07:00
Keegan George 94b6840901 FIX: Ember Linting fixes 2022-07-27 17:01:47 -07:00
Keegan George fa22f7b17d WIP: Add bash script to handle vendor assets 2022-07-27 17:00:11 -07:00
Keegan George 50193c9f5a FIX: Linting issues with jspreadsheet-theme 2022-07-26 13:00:37 -07:00
Keegan George b2dffcc910 DEV: Remove `fade-in` and use `jsuites.basic.css` instead 2022-07-26 12:16:39 -07:00
Keegan George 12e09ebad6
Merge pull request #3 from discourse/fix-csp-issues
FIX: Use local theme files for external libs
2022-07-26 12:14:36 -07:00
Penar Musaraj f8a914c8cc
FIX: Use local theme files for external libs
This also makes sure we don't need any CSP rules for the loaded JS files.
2022-07-26 13:35:02 -04:00
Keegan George 807b9e0b31 UX: Minor fixes for dark mode 2022-07-21 14:42:55 -07:00
Keegan George 99dc02d896 UX: Hide about in context menu 2022-07-21 14:42:46 -07:00
Keegan George 57d7f1bf0c DEV: Update `<SpreadsheetEditor/>` to Glimmer Component
As of [this commit](327dd0beb3), render-modifiers have been introduced, allowing the spreadsheet component to be successfully converted into a Glimmer Component.
2022-07-21 14:19:01 -07:00
Keegan George fbbf78d99b FIX: Expand button not working on multiple tables in post 2022-07-20 16:28:43 -07:00
Keegan George 20890f7e67 DEV: Improve variable naming for edit icon 2022-07-20 15:15:13 -07:00
Keegan George 8e078d2bc9 DEV: Update tests 2022-07-20 11:18:25 -07:00
Keegan George 9b59f6eeea DEV: Disable linting for libraries 2022-07-20 11:18:19 -07:00
Keegan George 8b596e3bd2 FIX: New cover image not applying 2022-07-19 16:51:09 -07:00
Keegan George 2c8eca5c28
Merge pull request #2 from keegangeorge/feature-spreadsheet-builder
FEATURE: Use spreadsheet editor for building tables
2022-07-19 16:49:10 -07:00
Keegan George 55588620c7 DOCS: Update cover image 2022-07-19 16:42:32 -07:00
Keegan George 3eee3da853 FEATURE: Use spreadsheet editor for building tables 2022-07-19 16:33:10 -07:00
Keegan George a50cd73dcf DOCS: Remove To-Do list and update cover image 2022-07-18 11:45:21 -07:00
Keegan George 60d9d65095
Merge pull request #1 from keegangeorge/feature-edit-table
FEATURE: Ability to edit markdown tables in posts
2022-07-18 11:32:17 -07:00
Keegan George f2a77afba5 DEV: Stylesheet fixes 2022-07-18 11:23:38 -07:00
Keegan George b7a0a22e95 DEV: Cleanup
- Linting Fixes (prettier, eslint, ember template lint)
- Reorganize code, moving declarations, consolidating functionality into separate methods
- Add default edit reason locale vs hard-coded string
2022-07-18 11:18:58 -07:00
Keegan George 2ddb6de654 FIX: Only update table portion from raw post 2022-07-18 11:03:57 -07:00
Keegan George d74b713d0b FEATURE: Update post contents with edited table (WIP)
Known issue: overrides other content on the post and replaces the post with only the table
2022-07-16 11:00:05 -07:00
Keegan George 669be70f18 DEV: Add logic to build markdown table 2022-07-14 17:07:05 -07:00
Keegan George 4bbb3a9647 FEATURE: Column width dynamically set based on heading length 2022-07-14 10:05:27 -07:00
Keegan George 05cd2ada7e DEV: Remove comments and unused code 2022-07-14 10:05:07 -07:00
Keegan George bf454250fe UX: Update cell styles 2022-07-14 10:04:50 -07:00
Keegan George 9b241aaead DEV: Separate styles into partials 2022-07-14 09:24:38 -07:00
Keegan George f76ae6dcd8 DEV: Remove unused imports 2022-07-14 09:21:27 -07:00
Keegan George 40f42a92d2 DEV: Move jsuites library to separate file 2022-07-14 09:21:22 -07:00
Keegan George 67a27f0ece UX: Apply primary button styling for Edit Table button 2022-07-14 08:56:31 -07:00
Keegan George 86af126978 FIX: Spreadsheet only loading for one instance
This commit moves spreadsheet logic to a component which resolves the issue where the spreadsheet only loads the first time the edit modal appears.
2022-07-14 08:56:11 -07:00
Keegan George 414e7e6a84 DEV: Remove `ajax` request as raw post is not needed 2022-07-13 16:00:42 -07:00
Keegan George 87b91f5a6f WIP: Use JSpreadsheet instead of Importabular 2022-07-13 15:42:13 -07:00
Keegan George 29089a6c43 DOCS: Update known issue list 2022-07-13 11:39:18 -07:00
Keegan George 905e553635 FIX: Expand button not working 2022-07-13 11:38:47 -07:00
Keegan George 633109804c DEV: Add comment for clarity 2022-07-13 11:38:33 -07:00
Keegan George 9bfc23c599 WIP: New approach (see description)
- Add edit table button (beside expand table button)
- Parse the table contents
- Display the table as a spreadsheet using the Importabular library
2022-07-12 15:27:03 -07:00
Keegan George b62f595eeb DEV: Trigger modal from Edit Table Button
Triggers modal after clicking Edit Table from selection. Data from post is then passed to the modal.
2022-07-11 15:05:50 -07:00
Keegan George 83d10bff76 FIX: Linting issues 2022-07-04 18:10:08 -07:00
Keegan George e733414781 DEV: Move linting/tests to `/workflows` folder 2022-07-04 18:05:47 -07:00
Keegan George 34d1327951 DEV: Add acceptance tests 2022-07-04 18:03:43 -07:00
Keegan George ccaa7b1d41 FIX: Typo in composer button
`Insert Title` => `Insert Table`
2022-07-04 16:35:58 -07:00
Keegan George 867ea71ceb FIX: Reset table properties after building table
Ensures data is cleared after building a table so that additional tables can be build without remaining old data.
2022-07-04 16:31:11 -07:00
Keegan George 9354a5576b UX: Make header input fields bold 2022-07-04 15:31:16 -07:00
Keegan George d098294d89 DEV: Add cover image for README 2022-07-04 15:26:41 -07:00
Keegan George ca6783491a DEV: Add documentation 2022-07-04 15:02:33 -07:00
Keegan George 4c8cfa9559 FEATURE: Ability to build a table in the composer
- Adds a button to the composer tools which triggers a modal window for a table builder
- Table builder contains fields to add table contents, as well as buttons to align contents, and add additional tables/rows
2022-07-04 14:58:50 -07:00
Keegan George fc9898daac INIT: Add base theme component files 2022-07-03 20:47:08 -07:00