Commit Graph

127 Commits

Author SHA1 Message Date
David Taylor 8f0a4e5d4e
DEV: Update linting (#85) 2024-11-28 15:28:08 +01:00
David Taylor a95edcb632
DEV: Update linting (#84) 2024-11-20 19:26:47 +01:00
David Taylor 93842629a5
DEV: Update eslint config (#83) 2024-11-19 15:28:58 +01:00
Kelv 87bbb544d0
DEV: Update linting setup (#82) 2024-10-17 11:30:52 +02:00
Kelv 08e349565d
DEV: Switch to use pnpm (#81) 2024-10-14 11:29:36 +02:00
dependabot[bot] b32b636f07
Build(deps): Bump micromatch from 4.0.5 to 4.0.8 (#80)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 15:18:49 +02:00
Natalie Tay c2a5c4a6c3
DEV: Pin theme for Discourse < 3.4.0.beta1-dev (#79) 2024-08-02 17:42:50 +08:00
David Taylor 90463b7157
DEV: Update linting (#78) 2024-03-27 18:19:45 +01:00
Selase Krakani 20c82ff322
DEV: Pin theme for Discourse < 3.3.0.beta1-dev (#77) 2024-02-29 13:01:40 -07:00
Keegan George 52089be65b
DEV: Remove min/max versions (#76) 2023-12-04 12:14:20 -08:00
Keegan George ff04d3dc34
FIX: version should not include `v` (#75) 2023-11-30 13:44:22 -08:00
Keegan George 924bca8840
DEV: Deprecate theme component for migration to core (#74) 2023-11-30 10:54:37 -08:00
Discourse Translator Bot 10a3c21551
Update translations (#73) 2023-11-14 14:30:41 +01:00
chapoi 12533c0798
UX: add double class declarations (#72) 2023-11-13 13:47:55 +01:00
Keegan George 34a75d3275
DEV: Update `DPopover` to `DTooltip` to remove deprecation warning (#71) 2023-11-10 09:36:47 -08:00
Keegan George eb4e88a3d4
DEV: Add system specs (#70) 2023-11-09 09:48:12 -08:00
Keegan George 0bca746a68
UX: Confirm before closing unsaved changes (#68) 2023-11-03 13:47:56 -07:00
Alan Guo Xiang Tan ca8aad0761
DEV: Use plugin api version 1.13.0 (#67)
Plugin API versions > 1.13 is not released in any beta versions.
2023-10-27 10:57:07 +08:00
Alan Guo Xiang Tan a6a86163a7
DEV: Switch to new addComposerToolbarPopupMenuOption plugin API (#66)
Why this change?

`api.addToolbarPopupMenuOptionsCallback` has been deprecated in 913fd3a7b3
2023-10-23 08:08:36 +08:00
dependabot[bot] f076c50946
Build(deps-dev): Bump @babel/traverse from 7.20.10 to 7.23.2 (#65)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.10 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 12:34:44 -04:00
Discourse Translator Bot a66bf1e846
Update translations (#64) 2023-09-05 15:43:12 +02:00
Keegan George b740ebd4ed
FIX: Broken locales in context menu (#63) 2023-09-01 11:55:36 -07:00
Keegan George bfd91fc3bc
DEV: Remove unused pagination locale (#62) 2023-09-01 09:49:44 -07:00
Keegan George c050e072e9
UX: Full width/height modal (#61) 2023-08-31 09:28:05 -07:00
Keegan George 116bcb9c3a
DEV: Use new component based modal API and other modernizations (#60) 2023-08-30 13:36:22 -07:00
Discourse Translator Bot 6d8015bd3e
Update translations (#59) 2023-08-29 15:52:08 +02:00
Discourse Translator Bot c6e55ee380
Update translations (#58) 2023-08-23 09:30:56 +02:00
David Taylor ac73eda710
DEV: Introduce backwards-compat shims for older Discourse core (#57)
The changes in 8599bfcaff needed to be applied precisely in-step with the core changes from https://github.com/discourse/discourse/pull/23148. This is impossible to guarantee with a theme - `.discourse-compatibility` does not give us enough precision. So instead, we need some temporary backwards-compatibility shims so that the new relative-import paths still work on old discourse.
2023-08-21 14:23:46 +01:00
David Taylor 8599bfcaff
DEV: Update import paths following core fix (#56)
https://github.com/discourse/discourse/pull/23148
2023-08-18 18:30:20 +01:00
Penar Musaraj 0c7b09886c
DEV: Pin theme for Discourse 3.1 stable (#55) 2023-08-18 18:17:24 +01:00
Discourse Translator Bot 04b36c6801
Update translations (#53) 2023-07-25 17:58:23 +02:00
dependabot[bot] 5e6bb7841b
Build(deps): Bump word-wrap from 1.2.3 to 1.2.4 (#54)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 21:30:28 +02:00
dependabot[bot] 34dd18f01a
Build(deps): Bump semver from 6.3.0 to 6.3.1 (#52)
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-14 13:21:45 +02:00
Discourse Translator Bot e9cb744f0d
Update translations (#51) 2023-06-20 17:28:24 +02:00
Penar Musaraj a6b221ddfa
FIX: Table editing sometimes not working (#50)
We were relying on the `event.target`, and sometimes that target was not the button element with the `table-id` data attribute, but the svg. 

This commit makes a few changes: 

- renames `tableId` to `tableIndex`
- passes the index as part of the attributes to the `generateModal` function
2023-04-25 10:23:28 -04:00
Keegan George eb164d881e
UX: Make table builder edit button icon-only (#49) 2023-03-24 13:23:08 -07:00
Keegan George 5d7a126403
FIX: Post height issues (#34) 2023-03-24 12:25:46 -07:00
Selase Krakani 850e31c83d
FIX: Remove linebreaks from cell data (#48)
Pasting text with linebreaks into the table UI results in incorrectly
generated table markdown.

This fix strips linebreaks from text during table markdown generation.
2023-02-27 15:49:55 +00:00
Penar Musaraj 4c6b020fd8
DEV: Update jSpreadsheet to v4.11.1 (#47) 2023-02-16 21:17:00 -05:00
Penar Musaraj b45ffe48b7
FIX: Allow headings to have the same label (#46)
Fixes an issue where multiple headings with the same value would remove
columns from displaying.
2023-02-16 21:16:48 -05:00
Penar Musaraj d754e7a2ec
FIX: Screen shaking on mobile view navigation (#45)
Setting a border on the `fullscreen-table-wrapper` element causes a
small shake in mobile views, especially on topics with multiple tables.

This PR removes the border on the table entirely. This was an almost
invisible visual effect when selecting the table (small border width,
whole table is set to 50% opacity).

It also makes a small refactor, moving the styles of the button outside
of the hover state.
2023-02-06 10:04:19 -05:00
Discourse Translator Bot f91876f8d3
Update translations (#44) 2023-01-24 16:32:01 +01:00
Keegan George 7e02d17031
DEV: Update vendor assets (#43) 2023-01-19 09:24:45 -08:00
Keegan George 6707473520
DEV: Map Discourse locales to vendor spreadsheet locales (#42) 2023-01-19 09:24:31 -08:00
discoursebot ce3adf0612
DEV: Update CI workflows (#41)
Co-authored-by: discoursebuild <build@discourse.org>
2023-01-10 20:12:30 +00:00
David Taylor 8285be7618
DEV: Update eslint-config-discourse, use prettier for hbs (#40) 2023-01-04 12:54:43 +00:00
Penar Musaraj fdc79d0cbf
FIX: do not edit wrong table when post has uploads (#37)
Previously, the regex was catching uploads as well as tables.

This change ensures only strict tables are matched by requiring that
matches start with the pipe character.

Also adds a unit test for `findTableRegex` to describe the expected
behaviour of the helper.
2023-01-04 08:06:25 +01:00
dependabot[bot] 38914c6ada
Bump json5 from 2.2.1 to 2.2.2 (#39)
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 22:23:38 -05:00
discoursebot 3d20217880
DEV: Update CI workflows (#38)
Co-authored-by: discoursebuild <build@discourse.org>
2022-12-31 04:21:32 +01:00
Discourse Translator Bot 015defed7c
Update translations (#36) 2022-11-29 15:42:13 +01:00