Commit Graph
134 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš efcb287c87 Update colors to match latest in Figma design system 2023-11-16 16:11:23 +01:00
Rūdolfs Ošiņš c7027c1f2f Extract all external link styling into a component 2023-11-15 16:34:17 +01:00
Rūdolfs Ošiņš 2bd1893504 Tweak font features
This only enables the slashed zero font variant. We remove the other
settings because they mess up the monospace Jetbrains font in diffs.
2023-11-15 16:28:26 +01:00
Rūdolfs Ošiņš 89424819b4 Use different yellow for user selection 2023-11-09 13:36:36 +01:00
Rūdolfs Ošiņš 5fc49faf6b Update color tokens 2023-11-09 13:36:36 +01:00
Rūdolfs Ošiņšanddnlklmn d914710396 Implement new design
Co-authored-by: dnlklmn <pelicansinberlin@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-10-13 18:05:19 +02:00
Sebastian Martinez 1ef0f9dfd1 Add issue embeds
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-27 16:40:49 +02:00
Rūdolfs Ošiņš 6e049197ef Remove apple-touch-icon from index.html
Firefox uses it as favicon by mistake, this icon has a black background
and is only intended for apple homescreen. It should be enough to just
have the filename for apple devices.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-24 17:54:23 +02:00
Sebastian Martinez 31be78144f Fix padding issues of project headers on mobile
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-27 10:19:56 +02:00
Rūdolfs Ošiņš 32cb1b667d Set up Vercel redirects
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-12 14:08:14 +02:00
Rūdolfs Ošiņš e79685b8a6 Improve patch view visuals
- underline in commit hover state
- indent revision comments
- dim "Revision" text in header
- fix vertical alignment of header items in right-hand-side
- don't show first revision description, it's already shown as part of the
  patch description

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-05 16:15:11 +02:00
Sebastian Martinez bb51de6a9a Fix wrong icon used for iOS icon
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-09 10:29:00 +02:00
Sebastian Martinez d8d470ae9d Add ability to install as PWA
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-08 13:55:50 +02:00
Rūdolfs Ošiņš 1f09d8a2a8 Allow opening links in a new tab
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-27 15:54:53 +02:00
Sebastian Martinez e5ec6e33fb Improve general UX
- Hide issue title edit button when not logged in
- Show Blob placeholder when empty file
- Allow selecting blob code without the lines
- Add Clipboard component to object id in CobHeader
- Add blockies to Patch and Issueteasers
- Reduce formatted object ids to 7 instead of 11 chars
- Remove line breaking on soft wraps from Markdown
- Reduce font size of code blocks in Markdown
- Improve margins in IssueTeaser
- Reduce font size in FileDiffs
- Improve teasers, assignees and tags highlighting
- Reduce font size of code
- Change commit teaser subtitle
- Show Clipboard in commit sha1
- Add blockies to PeerSelector
- Adjust commit view CSS

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-14 16:15:51 +02:00
Rūdolfs Ošiņš 6efe60984b Update logo and favicon
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-12 08:22:28 +02:00
Sebastian Martinez d1168dc6ff Add issue creation
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-01 15:12:03 +01:00
Brandon Oxendine b14d35ced0 Improve contrast in light mode
Signed-off-by: Brandon Oxendine <brandon.oxendine@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-01 12:36:09 +01:00
Rūdolfs Ošiņš 3d018dae18 Refactor modals
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-30 09:24:49 +01:00
Sebastian Martinez d1a1b4c9c0 Fix pretty-lights theme
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-16 12:15:21 +01:00
Sebastian Martinez 569b660134 Move syntax highlighting to web client
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-16 11:00:17 +01:00
Sebastian Martinez d45e21c82d Add settings dropdown
Moving the theme toggle inside a settings dropdown in-place.
Adding a switch for the used monospace font, user can either use the
OS or browser default, or switch to "JetBrains Mono".

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-23 10:14:07 +01:00
Sebastian Martinez f38893407a Add hash routing
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-15 15:24:12 +01:00
Sebastian Martinez cd60ad7298 Convert emojis to twemojis
To provide the same emoji experience on all browsers and OS we use
Twemoji and replace all emojis where possible.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-15 15:10:48 +01:00
Rūdolfs Ošiņš ae49c6fc56 Extract global layout classes into own file
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 18:02:21 +02:00
Rūdolfs Ošiņš cfb1c5acd1 Simplify global anchor styles
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 18:02:21 +02:00
Rūdolfs Ošiņš ba8522c8ca Get rid of .error and .error-message global CSS classes
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 17:22:11 +02:00
Rūdolfs Ošiņš fcbea6dac3 Move .faded -> .txt-faded
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 17:22:11 +02:00
Rūdolfs Ošiņš 1d186d5328 Move .label, secondary, .highlight -> .txt-highlight
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 17:22:11 +02:00
Rūdolfs Ošiņš b8e7239ba4 Extract <TextInput /> component
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-21 11:19:30 +02:00
Rūdolfs Ošiņš 2f9c00ba4b Remove unused global styling
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-21 11:19:30 +02:00
Rūdolfs Ošiņš 91e3ed5c0b Get rid of <section> tag and global styling
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-21 11:19:30 +02:00
Rūdolfs Ošiņš e8d5c4c7bb Inline one-off global css class
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-21 11:19:30 +02:00
Rūdolfs Ošiņš 70b2368e47 Remove unused global button modifier class
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-21 11:19:30 +02:00
Rūdolfs OšiņšandBrandon Oxendine b35d46752f Add theme switching button
Co-authored-by: Brandon Oxendine <brandon.oxendine@gmail.com>
Signed-off-by: Brandon Oxendine <brandon.oxendine@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-15 12:45:56 +02:00
Rūdolfs Ošiņš 538c6d90c1 Remove global table styling
Inline it where appropriate. Style markdown tables properly.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-13 10:30:50 +02:00
Rūdolfs Ošiņš 591c19a256 Refactor typography styles
- Move all global typography styles to its own file. This makes it
  easier to find all the typography related definitions for newcomers.

- Prefix all typography related global CSS classes with a unique prefix
  `.txt-`. This allows us to grep the codebase and see exactly where
  they are applied. Another benefit of this convention is that it helps
  to avoid accidentally mixing global and local styles. Having global
  CSS classes that sometimes overlap with component CSS classes makes it
  very hard to reason about the resulting visuals and making changes
  unpredictable.

- Introduce CSS variables for standardised typography sizes and apply
  them to the whole codebase consistently. This way we can adjust the
  size in one place and it will be applied everywhere.

- Avoid using predefined HTML tags which might have differing styling
  from browser to browser, e.g. `<h1>`, `<strong>`. We should stick to
  applying styling either by adding a specific global CSS class or using
  the predefined CSS variables, this way we can be sure that the styles
  won't be overridden by browser defaults.

- Have a minimal set of modifiers `.txt-monospace` and `.txt-bold` and
  apply them consistently. Since `.txt-monospace` is defined via a CSS
  variable, we'll be able to switch out fonts via a user setting in the
  future.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-09 14:50:26 +02:00
Rūdolfs Ošiņš dc8a8f883c Extract Button component
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-06 11:36:31 +02:00
Rūdolfs Ošiņš b3cec1f314 Format *.ts, *.js, *.css, *.html, *.json and *.svelte
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 17:47:07 +02:00
Rūdolfs Ošiņš 19d24340d9 Remove redundant .modal global styles
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 11:21:13 +02:00
Rūdolfs Ošiņš 3904ac30da Inline .dropdown, .popup
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 11:21:13 +02:00
Rūdolfs Ošiņš 0200fad482 Inline .notice
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 11:21:13 +02:00
Rūdolfs Ošiņš 93b7b6b2a0 Extract global .badge class into a component
By encapsulating the global `.badge` class into a component we make reasoning
about how badges look a bit easier, because now there's a single place
where it is defined. Otherwise it is not guaranteed that the class is
going to be applied to the correct html tag. This also makes combining
global CSS classes that don't make sense from a design perspective
impossible.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-30 12:12:19 +02:00
Alexis Sellier 3d00fc39bb Style fixes
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-08-24 10:35:52 +02:00
Alexis Sellier 34698071c4 Styles fixes
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-08-11 20:27:45 +02:00
Brandon Oxendine 6edbd37c4c Unify border-radius
Signed-off-by: Brandon Oxendine <brandon.oxendine@gmail.com>
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-08-08 18:31:49 +02:00
Alexis Sellier 01f7af357d Fix button style regression
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-08-08 17:55:43 +02:00
Alexis Sellier 213a8d7f0b Add verified badge popup
Signed-off-by: Alexis Sellier <self@cloudhead.io>
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-01 15:58:02 +02:00
Brandon Oxendine b687d37b03 Unify button heights
Signed-off-by: Brandon Oxendine <brandon.oxendine@gmail.com>
2022-07-13 13:51:32 +02:00
Sebastian Martinez aa62ef0bc1 Add issue listing and detail view
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-06-08 23:34:24 +02:00