Keegan George
be968d9158
DEV: Add loading spinner ( #20 )
...
* WIP: Add loading spinner
* DEV: Linting fixes
* DEV: Make `loading` a `@tracked` property
2022-08-15 08:47:33 -07:00
Keegan George
d25736adad
DEV: Remove Table HTML usage ( #9 )
...
* DEV: Remove Table HTML usage
* DEV: Apply ember linting
2022-08-09 17:14:35 -07:00
Keegan George and Penar Musaraj
98a9081e25
DEV: Populate table content using raw markdown ( #7 )
...
* Very exploratory MD work
* DEV: Populate table content using raw markdown
* DEV: 💄 Linting Fixes
Co-authored-by: Penar Musaraj <[email protected] >
2022-08-09 16:51:17 -07:00
Keegan George
57d7f1bf0c
DEV: Update <SpreadsheetEditor/> to Glimmer Component
...
As of [this commit](https://github.com/discourse/discourse/commit/327dd0beb3e289b613a2d60e299d2ab7189d5ee5 ), 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
3eee3da853
FEATURE: Use spreadsheet editor for building tables
2022-07-19 16:33:10 -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
05cd2ada7e
DEV: Remove comments and unused code
2022-07-14 10:05:07 -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
87b91f5a6f
WIP: Use JSpreadsheet instead of Importabular
2022-07-13 15:42:13 -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
34d1327951
DEV: Add acceptance tests
2022-07-04 18:03:43 -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