summaryrefslogtreecommitdiff
path: root/ui/styles/variables.css
Commit message (Collapse)AuthorAge
* Rename "channel" to "conversation" throughout the client.Owen Jacobson2025-07-03
| | | | Existing client state, stored in local storage, is migrated to new keys (that mention "conversation" instead of "channel" where appropriate) the first time the client loads.
* Provide conventional text styling for message bodies.Owen Jacobson2025-05-08
| | | | | | | | | | | | | | | | | | Our reset strips out a ton of default browser styles, which is good, but we haven't yet gotten around to adding styles we're using. This left formatted messages feeling a lot like this regardless of the intended formatting. (Is the above an example of a paragraph? A list? A single line that has gotten wrapped? The answer was "yes.") To make the margins and padding work out nicely, I've rearranged the positioning containers used for message runs and messages. We also no longer `float` the message handles, since we no longer need to: they can be positioned relative to the message they're part of. Styling on long bodies of inline code (`like this`) is a bit shaky. The outline overlaps with the following line. I think having a visual cue for where the code block begins and ends is _good_, but I'd like to pick apart some of the other examples on the internet because I think this needs more work. This change also makes code blocks wrap lines at the page edge where possible (it'll still scroll if wrapping isn't possible). This won't affect _most_ code blocks much - code tends to not be that wide - and it means that using a code block for effect doesn't require people to manually wrap strings. Having tried it both ways, this feels more human. Dumbnailing is not a _great_ solution to dealing with huge images, but it's the best we can do at rendering time. A more complete solution would require generating images at multiple sizes.
* Merge branch 'prop/outbox-message-ui'Owen Jacobson2025-05-08
|\
| * Render "ghost" messages for unsent messages.Owen Jacobson2025-05-06
| | | | | | | | | | | | | | | | | | | | | | There is a subtle race conditon in this code, which is likely not fixable without a protocol change: * Ghost messages can disappear before their "real" message replacement shows up, if the client finishes sending (i.e., receives an HTTP response on the POST) before the server delivers the real message. * Ghost messages can be duplicated briefly, if the client receives the real message before the client finishes sending. Both happen in practice; we make no ordering guarantees between requests. To aviod this, we'd to give clients a way to correlate pending sends with received messages. This would require fundamentally the same capabilities, like per-operation nonces, that preventing duplicate operations will require.
* | Split up link colours and use fewer wildcard patterns to re-style them.Owen Jacobson2025-05-06
|/ | | | | | This was causing problems with message colouring, as these rules had specificity similar to constructs like `.message.deleted`. This approach removes their browser default styles, then adds styling specific to the channel sidebar, the app bar, and the message view.
* Make handle text light, so it's legibleKit La Touche2025-01-14
|
* npm run formatOwen Jacobson2025-01-11
|
* Take the edge off the text coloursKit 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 more betterKit La Touche2025-01-05
|
* Set a sample colourKit La Touche2025-01-04
|
* Do a lot of stylingKit La Touche2025-01-04
|
* Update colour variablesKit La Touche2025-01-04
|
* Just oh so many stylesKit La Touche2025-01-01
|
* Add in some hand-rolled stylesKit La Touche2024-12-30