summaryrefslogtreecommitdiff
path: root/ui
Commit message (Collapse)AuthorAge
* Hoist global state access out of individual components.Owen Jacobson2025-02-21
| | | | | | | | Access to "global" (maybe "external?") state is now handled at the top level of the component hierarchy, in `+page.svelte`, `+layout.svelte`, and their associated scripts. State is otherwise passed down through props, and changes are passed up through callbacks. This is - hopefully - groundwork for refactoring state management a bit. I wanted to move access to state out to a smaller number of places, so that I have fewer places to update to implement reconnect logic. My broader goal is to make it easier to refactor these kinds of external side effects, as well, though no such changes are in this branch. This change also makes testing a mile easier, since tests can interact with props and callbacks instead of emulating the whole HTTP request stack and the Pilcrow API. This change removes do-very-little tests.
* Remove stray importsOwen Jacobson2025-02-21
|
* Retire use of $page store in favour of Sv5 page stateOwen Jacobson2025-02-21
|
* Add missing awaits on goto() callsOwen Jacobson2025-02-21
|
* Be a bit more careful with the nesting of anchors and list items.Owen Jacobson2025-02-21
| | | | Browsers cope with weird nestings mostly fine, but there's no upside for us in testing that.
* Remove unused type attribute on textareaOwen Jacobson2025-02-21
|
* Remove duplicate `content` hack from reset.Owen Jacobson2025-02-21
| | | | | | According to <https://stackoverflow.com/a/6803278>, this was needed for old versions of Safari. However, since at least 2022, Safari has supported `content: none` just fine. Related Safari bug (still open as of this writing, comments relevnat): <https://bugs.webkit.org/show_bug.cgi?id=20032>
* Provide fallback generic fonts for our custom fontsOwen Jacobson2025-02-21
|
* Remove nonexistent CSS variableOwen Jacobson2025-02-21
|
* Remove references to nonexistent italic variants of FiraCodeOwen Jacobson2025-02-21
|
* Split "set up the event source" and "apply events to state" from one another.Owen Jacobson2025-02-21
|
* Use axios to compute event stream URL, why not.Owen Jacobson2025-02-20
| | | | It's amazing what you can learn by skimming the docs.
* Remove the last lingering Svelte4-style event bindings.Owen Jacobson2025-02-20
|
* Let Svelte's `$derived` handling figure out update ordering for the channels ↵Owen Jacobson2025-02-20
| | | | | | | | | | | | | list. This fixes a bug. To reproduce: 1. Open the client and log in. 2. Create a new channel using the `create channel` UI. The expected result - and the behaviour after this commit - is that the newly-created channel will be shown in the sidebar immediately. The buggy behaviour is that it was not, but would appear in the sidebar once the client is reloaded. The channel would also not appear for other clients until they reloaded. I'm not actually completely sure of _why_ this fixes the bug, but it does.
* npm formatOwen Jacobson2025-02-15
|
* Merge remote-tracking branch 'origin/prop/fonts'Owen Jacobson2025-02-11
|\
| * Change default body font to RobotoKit La Touche2025-02-08
| | | | | | | | Let's try this.
| * Style form placeholders and buttonsKit La Touche2025-01-19
| |
| * Fix bold and italic font considerationsKit La Touche2025-01-19
| |
| * Add placeholder to message inputKit La Touche2025-01-19
| |
| * Make small tweaks for mobile devicesKit La Touche2025-01-19
| |
| * Make mobile UI look a little betterKit La Touche2025-01-17
| | | | | | | | The rounded corners on an iPhone shouldn't be cut off now.
| * Make handle text light, so it's legibleKit La Touche2025-01-14
| |
| * Merge branch 'main' into wip/fontsKit La Touche2025-01-13
| |\
| * | Add initial fontsKit La Touche2025-01-13
| | | | | | | | | | | | | | | We're not using Overlock currently, but I think it'll be good on headers and stuff?
* | | Better match theme colour (for browser chrome) to top bar colour (in-app ↵Owen Jacobson2025-01-28
| | | | | | | | | | | | chrome).
* | | Make mobile UI look a little betterKit La Touche2025-01-28
| | | | | | | | | | | | The rounded corners on an iPhone shouldn't be cut off now.
* | | Add placeholder to message inputKit La Touche2025-01-28
| |/ |/|
* | npm run formatOwen Jacobson2025-01-11
| |
* | Remove padding around the app-bar logo button, to stop safari from laying it ↵Owen Jacobson2025-01-11
| | | | | | | | out overlapping with the main area
* | Use margins, rather than alternating float/non-float elements, to lay out ↵Owen Jacobson2025-01-11
| | | | | | | | own/other messages.
* | Reinstate delete-armed message colouringOwen Jacobson2025-01-09
| |
* | Rectilinear sidebar, rather than rounded. The rounded corners were leaving ↵Owen Jacobson2025-01-09
| | | | | | | | some visually-displeasing shapes and gaps near the bottom of the app.
* | Match theme colour to the new top bar colour.Owen Jacobson2025-01-09
|/
* Take the edge off the text coloursKit La Touche2025-01-06
|
* Fix message handle positionKit La Touche2025-01-06
|
* Make all text in active channel same colourKit La Touche2025-01-05
|
* Fix up active and hover sidebar stylesKit La Touche2025-01-05
|
* Stylize channel badgesKit La Touche2025-01-05
|
* Handle no-channel-selected betterKit La Touche2025-01-05
|
* A bit more stylingKit La Touche2025-01-05
|
* Stylize more betterKit La Touche2025-01-05
|
* Style /me routeKit La Touche2025-01-04
|
* Stylize app barKit La Touche2025-01-04
|
* Set a sample colourKit La Touche2025-01-04
|
* Do a lot of stylingKit La Touche2025-01-04
|
* Fix invite copy buttonKit La Touche2025-01-04
|
* Variablize more coloursKit La Touche2025-01-04
|
* Add username class to username spanKit La Touche2025-01-04
|
* Update colour variablesKit La Touche2025-01-04
|