Commit Graph
26 Commits
Author SHA1 Message Date
Keegan George 5d7a126403 FIX: Post height issues (#34) 2023-03-24 12:25:46 -07:00
Keegan George 7028ba0660 FIX: Desktop touchscreens and allow edits on mobileView (#32) 2022-10-27 10:52:40 -07:00
Keegan George 879140b8ce FIX: Make edit table button text not selectable (#29)
Making the text of the edit table button not selectable so that when post's contents are copied, the edit table label does not copy over as well.
2022-10-12 09:49:54 -07:00
Keegan George 55c80ed04f Revert "DEV: Ensure helper or post exist before decorations (#27)" (#28)
This reverts commit 2896c69a72.
2022-09-21 10:12:32 -07:00
Keegan George 2896c69a72 DEV: Ensure helper or post exist before decorations (#27) 2022-09-20 18:23:22 -07:00
Joffrey JAFFEUX 20bcb38249 FIX: prevents markdown error by using new core parseAsync (#21)
Prior to this fix markdown-it was not correctly initialised and would cause an error when having to parse an URL for example.
2022-08-13 15:14:21 +02:00
Keegan George 52b69453ba COMPATIBILITY: Update site and siteSettings references (#18) 2022-08-12 12:09:39 -07:00
Keegan GeorgeandPenar Musaraj 7b37c6acc1 FIX: Special character alignment issue (#10)
* DEV: Use alternate fork of `array-to-table`

* DEV: Add unit test for `arrayToTable()` method

* Move `arrayToTable` so it is available for unit tests

* DEV: Add assertion for creating a markdown table with special chars

When a table with special characters (such as `$`) is inserted in a cell to the right of a blank cell. The alignment of the table gets ruined if the table doesn't have surrounding pipes. This check ensures this alignment is correct.

Co-authored-by: Penar Musaraj <[email protected]>
2022-08-11 11:33:34 -07:00
Keegan George dacdd1cc4e FIX: Edit Table button appearing in all <table> elements (#12) 2022-08-11 11:12:01 -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 GeorgeandPenar 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 993a1bbd43 FIX: Use canEdit property rather than comparing user (#6)
* FIX: Use `canEdit` property rather than comparing user

* DEV: Remove unused currentUser variable
2022-08-08 12:21:30 -07:00
Keegan George 52710496ed FIX: conflicting class declaration with core (#4)
* DEV: Remove `fade-in` and use `jsuites.basic.css` instead

* FIX: Linting issues with jspreadsheet-theme

* WIP: Add bash script to handle vendor assets

* FIX: Ember Linting fixes

* DEV: Cleanup comments and commented code
2022-07-28 07:33:25 -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 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 f76ae6dcd8 DEV: Remove unused imports 2022-07-14 09:21:27 -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 905e553635 FIX: Expand button not working 2022-07-13 11:38:47 -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 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