0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-10 04:12:53 +01:00
Commit-Graph

121 Commits

Autor SHA1 Nachricht Datum
Angus McLeod
8893e6caf1 Refactor wizard client and add tests 2022-03-16 12:33:34 +01:00
angusmcleod
43c4a1e0d6 COMPATIBILITY: composer editor compatibility updates 2021-12-22 16:41:38 +08:00
angusmcleod
b37f7dbdd5 DEV: preview template style improvements 2021-12-14 09:11:23 +08:00
angusmcleod
774cf70efc IMPROVE: remove custom paragraph line-height 2021-10-19 15:16:54 +08:00
Angus McLeod
538d618ff3
FEATURE: Add mentionables integration (#148)
* Add mentionables integration

* fix linting issues

* bump version

* FIX: Use wizard site model

* FIX: apply prettier
2021-10-06 17:25:50 +05:30
Faizaan Gagan
ca10ae797a
FEATURE: new field type Composer Preview (#130)
* WIP

* composer preview field working

* remove redundant variable

* fix linting issues

* fix rubocop

* remove unnecessary entry

* consolidate preview generation code

* add styles for onebox

* add css for @ mentions

* fixed eslint issues

* FIX: ensure oneboxes load every time

* remove unused import

* fix prettier issues

* removed unused code

* remove unused imports

* fixed prettier issue

* improve css structure

* add csrf header in all cases
2021-07-12 17:05:05 +05:30
Faizaan Gagan
c2e51cba3a FIX: hide placeholder on field focus 2021-07-03 13:23:33 +05:30
Penar Musaraj
0bd4dbd08b
DEV: Switch to CSS custom properties for colors (#127) 2021-06-29 13:19:28 +05:30
Angus McLeod
ceef3f4bc9
Step and field conditionality (#87)
* Re structure builder logic to allow for step conditionality

Concerns
- Performance. Look at whether the additional build in the steps controller can be reduced
- Does not work if applied to the last step.
- Certain conditions will not work with the first step(?)
- How should this be scoped to known functionality?

* Add indexes and conditions to steps and fields

* Complete and add spec

* Complete backend

* Complete step conditionality and field indexing

* Fix failing spec

* Update coverage

* Apply rubocop

* Apply prettier

* Apply prettier to wizard js

* Fix schema issues created in merge

* Remove setting label for force_final

* Improve client wizard cache naming

* Improve steps controller and spec conditionality

* Improve final step attribute naming

* Fix failing spec

* Linting

* Add one more final step test

* Linting

* Fix eslint issues

* Apply prettier

* Linting, syntax, merge and copy cleanups

* Update wizard-admin.scss

* Fix template linting

* Rubocop fixes
2021-04-20 23:28:19 +05:30
Faizaan Gagan
772392efae
FIX: checkbox description alignment (#99) 2021-04-18 17:27:16 +05:30
Faizaan Gagan
2788e8026e
ran prettier on stylesheets and global wizard javascripts (#95) 2021-04-12 12:05:15 +05:30
Faizaan Gagan
38a68c07e2
FIX: table styles for wizard composer preview (#70)
* copied over markdown table styles from discourse

* added a description comment
2021-02-18 18:20:40 +05:30
angusmcleod
b8a21eefe2 Position loading spinner in bottom right of composer 2021-02-18 14:57:16 +11:00
angusmcleod
5e09d067bc Display category badge if similar topics is scoped to category 2021-02-18 14:40:59 +11:00
angusmcleod
41be645c17 Improve show/hide of similar topics results 2021-02-17 15:49:20 +11:00
angusmcleod
db17a7d1ca Fix z-index issue 2021-02-17 14:57:42 +11:00
angusmcleod
c45e51fcb6 Various fixes
* Code formatting
* Both "type" and "name" are used to refer to the validation type. Changed all to "type".
* Added proper abstraction of realtime validation classes on server
* UI improvements in admin and wizard
2021-02-16 11:43:00 +11:00
Faizaan Gagan
d47770de88 implemented similar topics UI via ember components 2021-02-11 22:23:13 +05:30
Faizaan Gagan
2681fe21ad
FIX: wizard composer size should be consistent accross broswers (#68) 2021-01-27 11:43:09 +05:30
Faizaan Gagan
36094d70d6 fixed formatting for composer field type 2021-01-19 12:21:37 +05:30
Faizaan Gagan
4f70aea729 character count should be regular text 2021-01-16 17:34:37 +05:30
Faizaan Gagan
10f80709c2 FEATURE: text length counter for text type fields 2021-01-08 12:20:57 +05:30
Angus McLeod
4be7349d99 Improve input error styles
- Use outline instead of border
- Remove unecessary padding and margin
2020-11-25 12:58:20 +11:00
Angus McLeod
6297ddaa03 Update composer style and text usage to match the standard composer 2020-10-06 20:47:40 +11:00
Angus McLeod
245cb35330 Wizard composer style tweak 2020-10-05 12:32:14 +11:00
Angus McLeod
aa7d5df77b CLEANUP #1: Upload progress and link modal 2020-10-02 10:33:01 +10:00
fzngagan
3bd1129acf FEATURE: Insert hyperlink on wizard composer 2020-10-01 19:18:20 +05:30
fzngagan
67d87f74c1 Upload files, drag and drop files, syntax highlighting working 2020-10-01 11:13:29 +05:30
Angus McLeod
fd0dfeae32 Remove wizard composer static id
This causes an issue if multiple composers are used in a single step
2020-09-21 15:36:11 +10:00
Angus McLeod
003bf08f85 Remove unecessary css declarations 2020-08-20 23:27:00 +10:00
Angus McLeod
5588180dcd Clean up: variable usage and style registration 2020-08-19 14:41:20 +10:00
Angus McLeod
18f0356d15 Integrate custom wizard css into discourse asset pipeline 2020-08-19 13:14:28 +10:00
Angus McLeod
fe707f31e5 Add date-time style 2020-07-22 11:30:22 +10:00
Angus McLeod
a9a1409e66 Add event styles 2020-07-22 11:14:41 +10:00
Angus McLeod
dd3875840b Lightbox doesn't work in custom wizard 2020-05-04 18:09:18 +10:00
Angus McLeod
a8e8a1ecec Revert "Add underline to wizard titles"
This reverts commit da6d7a788b.
2020-04-30 19:35:12 +10:00
Angus McLeod
da6d7a788b Add underline to wizard titles 2020-04-30 19:34:12 +10:00
Angus McLeod
305ad2632a Reduce font-weight of checkbox labels 2020-04-30 19:31:48 +10:00
Angus McLeod
db16c9692b Update custom validation && location style 2020-04-15 18:58:57 +10:00
Angus McLeod
2e272f3ef4 Merge branch 'events-support-imports' into add_group_field 2020-04-07 17:57:36 +10:00
Angus McLeod
610ab8570a Add style updates 2020-04-03 19:49:36 +11:00
Angus McLeod
7035c05e37 Add pickaday style 2020-04-03 00:21:19 +11:00
Angus McLeod
9a489f3b9b Merge branch 'master' into add_group_field 2020-03-31 15:53:00 +11:00
Angus McLeod
b212eaa2f3 wip 2020-03-30 10:53:28 +11:00
fzngagan
b728af7a46 added events form css 2020-03-27 12:50:52 +05:30
fzngagan
2b45e9b039 added css/js for timepicker on wizard side 2020-03-27 12:49:27 +05:30
Robert Barrow
3c364c928c CSS for url entry to bring in line with text fields 2020-03-25 11:30:05 +00:00
Angus McLeod
2e6ab27ea0 add prefil 2020-03-22 04:30:11 +11:00
Angus McLeod
9ac57eeb98 FEATURE: Add real Discourse composer 2019-11-20 23:08:04 +11:00
Robert Barrow
fe67efdb3c improve CSS for intellisense results presentation 2019-10-01 19:39:39 +01:00