Commit Graph

135 Commits

Author SHA1 Message Date
Jonas Schäfer
d4707196ec Include Link header and element in invite response
This allows future App versions to also work with the invite page
without having to screen scrape the content.

Fixes #56 (at least for the portal side of things).
2021-02-09 16:44:50 +01:00
Jonas Schäfer
8a8d4c54bd Collapse the logout button text on narrow displays
This prevents ugly line wraps on long site names
2021-02-09 16:44:50 +01:00
Jonas Schäfer
4c128f1af2 Clarify "Not on mobile" button text
Tester feedback has shown that desktop client users will also
click that button because they are, in fact, not on mobile.

This button speaks more to the users intent (sending the
invitation to the mobile device) after having (hopefully) read
the text above.

Fixes #38.
2021-02-09 16:44:50 +01:00
Jonas Schäfer
8b551a8946 Fix invite page layout after adding support for flashboxes 2021-02-09 16:44:50 +01:00
Jonas Schäfer
9876e42fb7 Add support for a flash message sidebar 2021-02-06 12:00:45 +01:00
Jonas Schäfer
8b66c5a063 Add alert role to dynamically added message for a11y 2021-02-06 11:31:55 +01:00
Jonas Schäfer
53e023f9ae Protect against invalid domain on the client side
Here we protect the user from themselves if they accidentally
enter their snikket credentials into the wrong instance by
preventing the form from even being submitted and by showing a
nice error message.
2021-02-06 11:20:05 +01:00
Jonas Schäfer
5b812c773d Fix footer on login page 2021-02-04 15:51:43 +01:00
Jonas Schäfer
a68a469319 Add extended trademark hints to the about page 2021-02-03 18:57:01 +01:00
Jonas Schäfer
961f285fa5 Add trademark info to the footer
Fixes #45.
2021-02-03 18:55:22 +01:00
Jonas Schäfer
7456295cb6 Make title red if running in debug
This (a) helps developers to not accidentally their production
server and (b) deters user from letting it run that way for long.
2021-02-03 18:50:36 +01:00
Jonas Schäfer
96f4b0d4f8 Make version info only available on admin or debug sessions 2021-02-03 18:47:21 +01:00
Jonas Schäfer
7013161872 Add full support for favicon magic in portal even without proxy 2021-01-31 12:51:09 +01:00
Jonas Schäfer
58a9903a8f Make clipboard button accessible
Without the @href, it is not accessible at all because it is not
considered an active element.
2021-01-30 12:47:37 +01:00
Jonas Schäfer
0dbd8087eb Fix use of incorrect symbol 2021-01-30 12:47:37 +01:00
Jonas Schäfer
e7610928e2 Remove unused template 2021-01-30 11:34:16 +01:00
Jonas Schäfer
abd7894b6f Fix nesting mistake 2021-01-30 11:15:29 +01:00
Jonas Schäfer
eaaca163a0 Fix rendering issues in password reset invite pages 2021-01-30 11:05:57 +01:00
Jonas Schäfer
5f1d3ba307 Implement password reset flow 2021-01-30 10:49:28 +01:00
Jonas Schäfer
9612926230 Address a bunch of accessibility issues
- Add missing labels for form fields
- Improve contrast slightly
- Remove incorrect aria-label= and title= attributes
- Use fieldset for radio button groups
2021-01-29 15:58:54 +01:00
Matthew Wild
ec94a47c8c Update to use logo including text for invite pages 2021-01-29 08:48:13 +00:00
Jonas Schäfer
25f161d2b0 Make boxes friendlier 2021-01-29 09:32:11 +01:00
Jonas Schäfer
e5c5bbfbb4 Fix broken form validation for main circle 2021-01-29 09:32:06 +01:00
Jonas Schäfer
4044e857bc Disable iOS app reference by default
The app is not published yet, so we hide it by default. But we
allow allow to set an environment variable to show the button with
an appropriate link.
2021-01-29 09:32:01 +01:00
Jonas Schäfer
f4348600e2 Minor tweak to user profile home card
This aligns the buttons of the two cards and also the aspect
ratio becomes a tad nicer.
2021-01-28 20:10:18 +01:00
Jonas Schäfer
028f9b35a6 Fix leak of internal circle name in tooltips 2021-01-28 20:01:22 +01:00
Jonas Schäfer
e58a3176ac Also revamp the admin index 2021-01-28 18:55:22 +01:00
Jonas Schäfer
205b0173a7 Revamp the welcome screen for a hopefully final iteration 2021-01-28 18:53:03 +01:00
Jonas Schäfer
6235231db5 Add avatar to edit profile form 2021-01-28 18:53:03 +01:00
Jonas Schäfer
af61705482 Iterate further on the welcome page 2021-01-28 18:53:03 +01:00
Jonas Schäfer
46c7b3be11 Relayout the "welcome" screens again
Grouping the buttons together with the text for easier grasping
what they relate to and moving them to the bottom.
2021-01-28 18:53:03 +01:00
Jonas Schäfer
f68db94d91 Redo the welcome navigation
Tester feedback suggested that it looks really content-heavy,
more like blogpost previews or something like that. We now move
to a clear, recognizable "action button with description" style
using the already prominent primary colour.
2021-01-28 18:53:03 +01:00
Jonas Schäfer
d5ad562d2c Revamp rendering of invitation type to better accomodate roster invites 2021-01-28 16:15:46 +01:00
Jonas Schäfer
7028770f40 Add background to invalid invite page 2021-01-28 15:00:57 +01:00
Matthew Wild
350fd29622 templates: Render ?roster invites as type 'Contact' 2021-01-28 11:04:22 +00:00
Jonas Schäfer
4b4844ecaa Clean up icon use throughout the thing 2021-01-27 17:16:45 +01:00
Jonas Schäfer
0ead8ce4b3 Improve navigation in circles section
Separate the people/edit buttons visually (although they lead to
the same page) to anticipate user intent.
2021-01-27 17:16:35 +01:00
Jonas Schäfer
d568a235eb Fix breaking the vertical rhythm in the theme demo 2021-01-27 17:16:30 +01:00
Jonas Schäfer
4d0ba8ef9a Tweak form layout
- Use boldface for labels
- Use the equivalent of h4 for the heading
- Indent checkbox/radio choices
2021-01-27 17:16:30 +01:00
Jonas Schäfer
2f368e0a34 Change "reusability" to "type" for invites
- This makes the choice much clearer
- Allows for less generic terms in the table
- Future extensibility \o/
2021-01-27 17:16:30 +01:00
Jonas Schäfer
7da56c81fc Make default circle un-editable in the UI 2021-01-27 15:34:30 +01:00
Jonas Schäfer
d556034349 Drop phone number from the UI
It cannot be set with any tools currently, so we don’t need to
waste space on it.
2021-01-27 15:03:36 +01:00
Jonas Schäfer
6ffce26b08 Straighten up terminology
code -> link, invite -> invitation
2021-01-26 20:51:21 +01:00
Jonas Schäfer
1a4f16eaef Fix typo 2021-01-26 16:28:23 +01:00
Jonas Schäfer
df75fbaa1b Add support for circles with MUCs 2021-01-26 16:12:07 +01:00
Jonas Schäfer
5f1a45082e Add explanatory texts to circle related views 2021-01-26 16:11:56 +01:00
Jonas Schäfer
174a2c3e14 Handle edge case where a circle was deleted more thoroughly 2021-01-26 15:06:14 +01:00
Jonas Schäfer
c1132ae975 Implement invite flow in the web portal
This allows us to translate the pages using the same tooling and
to have consistent theming.
2021-01-25 17:10:42 +01:00
Jonas Schäfer
3c08320be4 Fix typo 2021-01-24 11:05:34 +01:00
Jonas Schäfer
8af1588176 Fix error display on passwd form
Fixes #32.
2021-01-24 10:54:58 +01:00