Commit Graph

50 Commits

Author SHA1 Message Date
Arpit Jalan
1f5089e474 FIX: handle invite error in wizard 2017-04-21 20:07:04 +05:30
Sam
a3e8c3cd7b FEATURE: Native theme support
This feature introduces the concept of themes. Themes are an evolution
of site customizations.

Themes introduce two very big conceptual changes:

- A theme may include other "child themes", children can include grand
children and so on.

- A theme may specify a color scheme

The change does away with the idea of "enabled" color schemes.

It also adds a bunch of big niceties like

- You can source a theme from a git repo

- History for themes is much improved

- You can only have a single enabled theme. Themes can be selected by
    users, if you opt for it.

On a technical level this change comes with a whole bunch of goodies

- All CSS is now compiled using a custom pipeline that uses libsass
    see /lib/stylesheet

- There is a single pipeline for css compilation (in the past we used
    one for customizations and another one for the rest of the app

- The stylesheet pipeline is now divorced of sprockets, there is no
   reliance on sprockets for CSS bundling

- CSS is generated with source maps everywhere (including themes) this
    makes debugging much easier

- Our "live reloader" is smarter and avoid a flash of unstyled content
   we run a file watcher in "puma" in dev so you no longer need to run
   rake autospec to watch for CSS changes
2017-04-12 10:53:49 -04:00
Robin Ward
3bd5ac8015 Fix Wizard unit tests 2016-11-25 14:29:45 -05:00
Robin Ward
0f9e45f283 Allow the loader to understand when files are moved 2016-11-15 11:41:16 -05:00
Robin Ward
70fb2431a1 Migrate this.container to getOwner(this) 2016-11-07 15:21:31 -05:00
Robin Ward
aa80c8cbdd FIX: Support optional logos when previewing the wizard 2016-11-07 11:06:32 -05:00
Robin Ward
a319cfe77a Final set of backwards compatible fixes for Ember 1.13 2016-10-28 15:51:39 -04:00
Robin Ward
7953a53cc5 Replace findProperty and filterProperty with findBy and filterBy 2016-10-26 15:45:06 -04:00
Robin Ward
bd352385a5 Framework for supporting Ember 1.12/1.13 helpers simulataneously 2016-10-24 15:13:32 -04:00
Robin Ward
c03d25f170 FEATURE: Configure Admin Account
Adds a "Step 0" to the wizard if the site has no admin accounts where
the user is prompted to finish setting up their admin account from the
list of acceptable email addresses.

Once confirmed, the wizard begins.
2016-10-19 11:27:56 -04:00
Robin Ward
3d621767cc FIX: Wizard didn't work with subfolders 2016-09-22 14:39:36 -04:00
Robin Ward
92529cd409 FIX: Tab ordering and outlines for wizard 2016-09-22 13:38:58 -04:00
Robin Ward
a09a09f686 FIX: Test was broken 2016-09-22 10:01:25 -04:00
Jeff Atwood
3ac348e898 Revert "add bit of random to the confetti"
This reverts commit 913e18579f8c4c6bad3269896c549779b554ece1.
2016-09-22 09:52:19 -04:00
Jeff Atwood
3f09ef70eb add bit of random to the confetti 2016-09-22 09:52:19 -04:00
Robin Ward
9bba0f3288 FIX: Show "Categories" when you are viewing the categories pills 2016-09-22 09:52:19 -04:00
Robin Ward
a95bb6006d Show staff count on invites page, don't warn if you have 3 2016-09-22 09:52:19 -04:00
Robin Ward
62e1f88adc Try to be smarter about scaling images on canvases 2016-09-22 09:52:19 -04:00
Robin Ward
14bee641aa Can choose categories or latest as homepage style 2016-09-22 09:52:19 -04:00
Robin Ward
2a0443445b New step to choose emoji set 2016-09-22 09:52:19 -04:00
Robin Ward
8f36f95180 Bump up the size of the theme preview 2016-09-22 09:52:19 -04:00
Robin Ward
2545c2ffa6 Add new welcome message step 2016-09-22 09:52:19 -04:00
Robin Ward
f4f1569e0c Move step text into progress bar 2016-09-22 09:52:19 -04:00
Robin Ward
9938f9bd67 Added images to the first and last step of the wizard 2016-09-22 09:52:19 -04:00
Robin Ward
42f6e52dc6 Warn the user if they haven't invited anyone 2016-09-22 09:52:19 -04:00
Robin Ward
cf84538fbf Bump up smallest size again 2016-09-22 09:52:19 -04:00
Robin Ward
1bf1bf4f93 Use our badge colors for the speech bubbles 2016-09-22 09:52:19 -04:00
Robin Ward
c718826134 Randomly flip some of the bubbles 2016-09-22 09:52:19 -04:00
Robin Ward
844c86481e Add more particles, remove black color 2016-09-22 09:52:19 -04:00
Robin Ward
899779b3c4 FIX: Confetti should go all the way to the right 2016-09-22 09:52:19 -04:00
Robin Ward
afe1a8e895 UX: Remove checkmark icon from Done 2016-09-22 09:52:19 -04:00
Robin Ward
454bcdca0b Add confetti effect for when you finish the wizard 2016-09-22 09:52:19 -04:00
Robin Ward
598db7a81c Add Apple Icon preview 2016-09-22 09:52:19 -04:00
Robin Ward
e7c1962aa0 Preview the favicon in the wizard 2016-09-22 09:52:19 -04:00
Robin Ward
0a41217604 Small Logo Preview looks better 2016-09-22 09:52:19 -04:00
Robin Ward
a318b18236 Custom Preview for Header Logo 2016-09-22 09:52:19 -04:00
Robin Ward
69325fbe02 Wizard: Support for custom image previews for uploads 2016-09-22 09:52:19 -04:00
Robin Ward
05d1c8167f UX: Use a minimum height for the wizard so it doesn't move as much 2016-09-22 09:52:19 -04:00
Robin Ward
74ed2e82ac UX: Wiggle invalid form elements. Don't allow a site title of Discourse 2016-09-22 09:52:19 -04:00
Robin Ward
2ff6295f71 UX: De-emphasize back/quit buttons in the wizard 2016-09-22 09:52:19 -04:00
Robin Ward
29cf47cfb2 Track steps the user has completed, nag them to finish it. 2016-09-22 09:52:19 -04:00
Robin Ward
ef84981e38 Invite Users step 2016-09-22 09:52:19 -04:00
Robin Ward
e3640ee5f6 Privacy Step 2016-09-22 09:52:19 -04:00
Robin Ward
af83c8dc14 Upload Logos Step 2016-09-22 09:52:19 -04:00
Robin Ward
c94e6f1b96 Add locale step 2016-09-22 09:52:19 -04:00
Robin Ward
3f6e3b9aff Wizard - Color Scheme Step 2016-09-22 09:52:19 -04:00
Robin Ward
9f12b571ef Wizard: Server Side Validation + Finished Step 2016-09-22 09:52:19 -04:00
Robin Ward
be1d74d207 Split out common functions into discourse-common module 2016-09-22 09:52:19 -04:00
Robin Ward
3a4615c205 Wizard: Step 1 2016-09-22 09:48:58 -04:00
Robin Ward
0471ad393c Scaffold for new Wizard - Rails / Ember / Tests 2016-09-22 09:48:58 -04:00