Commit Graph
65 Commits
Author SHA1 Message Date
brecert ecb0bff4f3 Set appropriate autocomplete attributes for password reset
- make autocomplete set to `current-password` and `new-password` for password resets
- fixes #198
2021-09-19 04:11:54 -04:00
brecert 51092db01b Change UserHover to use global identity instead of server
- fixes #196
2021-09-19 03:42:01 -04:00
brecert abe2e2db40 Fix send message related context menu options when unable to send messages
- fixes `reply` and `quote message` from appearing in the context menus for messages when unable to send messages.
- fixes #265
2021-09-19 00:47:01 -04:00
brecert 945e072327 Fixes background not updating on profile
- fixes #110
2021-09-17 19:44:19 -04:00
brecert 63479737a8 Fix trying to in undefined for themes 2021-09-17 17:30:14 -04:00
brecert 5b16977b0e Fix enter key sending message while still composing 2021-09-17 17:20:22 -04:00
brecert f01eb1d70f Add commit messages 2021-09-16 16:38:18 -04:00
brecert d123c5c44d Fix push issues for cleanup by removing single-commit
- note: in the future, `JamesIves/github-pages-deploy-action@4.1.5` may need to be replaced or supplemented by git commands to fully reset the preview branch so that images and builds do not linger and take up storage for too long
2021-09-14 19:21:55 -04:00
brecert 2e8c3aa242 Make BASE in cleanup relative 2021-09-14 18:58:57 -04:00
brecert ba2d0dd6d1 Fix wrong folder 2021-09-14 01:48:28 -04:00
brecert 44b1e2a079 Fix not cding into the folder 2021-09-14 01:37:37 -04:00
brecert 450789fafe Merge install and build together 2021-09-14 01:30:52 -04:00
brecert 785badae6e Fix env location 2021-09-14 01:16:31 -04:00
brecert aaac315736 Fix shell not being included for build action 2021-09-14 01:10:57 -04:00
brecert f554687878 Fix build being build_preview 2021-09-14 00:51:27 -04:00
brecert f584819a16 Fix secret not needing to be interpolated 2021-09-14 00:44:46 -04:00
brecert 628bf52ff3 Use ignored paths for pull_request events as well 2021-09-14 00:27:30 -04:00
brecert cdf900d08b Change docker workflow to exclude preview workflows
- changed the docker workflow to exclude preview workflows from causing the docker workflow to run again
2021-09-14 00:26:18 -04:00
brecert 951a773b2c Change mirror to only run if a key is set 2021-09-14 00:22:16 -04:00
brecert 12547ba0fe Improve preview cleanup interpolation 2021-09-14 00:03:58 -04:00
brecert f28fd40a78 Add support for external repositories with pull request previews 2021-09-13 23:54:39 -04:00
brecert 537f9b1596 Fix theme shop themes not applying as a base
- [#217] fixed theme shop themes not applying as a base
- added `themes` state path to store themes locally at
2021-09-11 15:40:14 -04:00
brecert 806e3108cb Improve reply mention styling
- [#220] reply mention now uses translations
- reply mention styling improved
  - `@` fits better
  - `min-width: 6ch` is used to remove shifting between `on` and `off` lengths, mostly for the english `on/off` but could be modified to work with any language in the future.
2021-09-11 11:53:50 -04:00
brecert 33d79beae6 Improve server identity avatar preview
- server identity avatar preview now displays your current avatar, but desaturated and grayscale when no avatar is set

resolves #218
2021-09-11 11:38:58 -04:00
brecert 4a5d78d909 Use single-commit for build-previews 2021-09-11 10:12:14 -04:00
brecert 9bd31c4c7e Use base url for building actions 2021-09-10 18:03:06 -04:00
brecert 08e226cd0c Disable yarn check temporarily 2021-09-10 14:59:37 -04:00
brecert 28df14b734 Add pull request preview actions 2021-09-10 14:48:48 -04:00
brecert 999fc5b639 Fix major image bugs for chrome 93+
- fixed major bugs for chrome 93+ at the cost of minor issues that may appear (unsure, did not find any in testing)
- position scaled image to the left for firefox (firefox aspect-ratio still does not scale correctly)
- added `--width` and `--height` to the `Grid` for theme creators who may want to use such information easily
2021-09-08 07:01:11 -04:00
brecert 04158302ac Remove the ability to hide the channel sidebar on mobile 2021-09-07 10:57:40 -04:00
brecert ed56967e10 Add the ability to hide the channel sidebar
(the left one)
2021-09-07 10:51:46 -04:00
brecert f35ebeab67 Add shift+click to channel links 2021-09-07 09:26:12 -04:00
brecert a308e6ecb8 Add shift+click to mention mentions 2021-09-07 09:09:12 -04:00
brecert b166b06321 Change mention to channel mention 2021-09-07 08:58:39 -04:00
brecert dd9b486dab Add shift+click to link to a channel in the textarea 2021-09-07 08:34:40 -04:00
brecert 2966e77917 Add shift+click to mention a user in the textarea 2021-09-07 08:14:22 -04:00
brecert 28b2d8dcab Improve accessibility and styling of theme shop 2021-09-07 06:31:49 -04:00
brecert 068540d366 Make theme shop hidden an experiment 2021-09-07 05:27:51 -04:00
brecert d7f08449cb Minor style improvements 2021-09-07 02:47:12 -04:00
brecert 6a32e451ac Use VITE_THEMES_URL for the default theme manifest
- typed `ImportMeta` to have `env`
2021-09-06 06:38:53 -04:00
brecert 6d85c9b725 Add under construction warning for the theme shop 2021-09-06 06:24:01 -04:00
brecert 414dcd51c0 Add base theme shop implementation and pane
- added theme shop settings pane
- added `generateVariables` for themes
- added `preview.svg` for previewing themes until a proper solution is made
2021-09-06 06:02:30 -04:00
brecert 6f99af6527 fix image overflow on older browsers 2021-08-10 05:48:26 -04:00
brecert 144a63a5c8 Improve image embed scaling.
- fixes #15
2021-08-06 12:39:23 -04:00
bree c1dc2b9a1d Fix: image attachments not having minimum width 2021-07-09 11:09:55 -04:00
bree 362e7452fe Fix: attatchment sizing on chrome when unloaded 2021-07-08 18:17:59 -04:00
bree eb7b915edb Fix: max-width for other attachment types 2021-07-08 10:32:05 -04:00
bree 59a5d2e752 small fix for attachment width 2021-07-08 10:26:46 -04:00
bree 7843e10d5f Merge remote-tracking branch 'upstream/master' 2021-07-08 10:23:47 -04:00
bree f0397f8af8 remove content jumping when loading image and video attachments 2021-07-08 10:22:42 -04:00
bree d829deba98 Fix: Image embeds were unable to be opened into the image view
- Image embeds actions now use a better styling that's the same as the other action stylings
2021-07-06 03:56:04 -04:00
bree 002d565b3f Improve ImageViewer styles 2021-07-06 03:03:05 -04:00
bree 02bbf78dcd Fix: attachment scaling and better image scaling
- attachment scaling now works for all forms of attachments
- switched to grid based action bar
- added onLoad class so image proportions are "trimmed" once the image has loaded to avoid moving the view around before loading
  - this may be possible to remove at some point
2021-07-05 04:32:05 -04:00
bree 9deeea3884 Hide --sidebar-active and keep it internal 2021-07-04 21:24:16 -04:00
bree c194fff7fd Resolve remaining review notes 2021-07-04 21:22:33 -04:00
bree 8ece647857 Replace usage of <></> with null for project and style consistency 2021-07-04 21:13:53 -04:00
bree e03449b75c Fix merge conflict missed from before 2021-07-04 21:11:23 -04:00
bree e070f26bda Update revolt.js to fix types 2021-07-04 21:09:24 -04:00
bree 3c2a85a3e4 Merge branch 'master' into cleanup 2021-07-04 21:06:30 -04:00
bree a4051330a3 remove most uses of as any in typescript
- replaced many uses of `as any` with another more specific cast `as T`
- filled in missing typed for items that needed to be typed
  - new runtime code was added where necessary to satisfy the new types with comments
- added missing theme variable "sidebar-active" to the Theme variables
- forms using `react-hook-form` are now typechecked
- changed some instances of `target` into `currentTarget` while removing `as any` assertions
2021-07-04 07:09:39 -04:00
bree b4294359a1 Fix: Chrome support for css image scaling 2021-07-04 00:48:24 -04:00
bree b821684733 image attachments now have their width and height properly set 2021-07-03 01:47:46 -04:00
bree 036e9a330a replace js image scaling with css for message attachments 2021-07-02 22:40:53 -04:00
bree ee5e558e9f fix long width image previews to fit into view 2021-07-02 22:37:45 -04:00
bree 46155a65dd Restructure FilePreview to be less "hacky" 2021-06-23 13:46:31 -04:00