Commit Graph
37 Commits
Author SHA1 Message Date
Sebastian Martinez bb9ea851fc Use Raw button to navigate to raw file
For toggling Markdown view, we add a button that either shows `Plain` or
`Markdown`.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-17 12:15:29 +02:00
Rūdolfs Ošiņš e41a12d663 Separate global project header from source browsing header
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-15 17:07:48 +02:00
Sebastian Martinez c32b303744 Add CLI tooling to create seed fixtures on the fly
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-12 14:23:10 +02:00
Sebastian Martinez d8d049518b Improve patch timeline and add description
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-10 09:15:19 +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
Rūdolfs Ošiņš 9704318248 Refactor seed view
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-20 14:41:19 +02:00
Rūdolfs Ošiņš d80c46e085 Rename the search bar placeholder
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-20 08:36:16 +02:00
Rūdolfs Ošiņš 069b0949d5 Enable the @typescript-eslint/no-floating-promises rule
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-12 15:05:05 +02:00
Rūdolfs Ošiņš 2d58c600ad Don't show port in clone URL if it is the default port
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-12 10:02:04 +02:00
Rūdolfs Ošiņš c8c251fabd Add httpd-client api library
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-11 15:31:08 +02:00
Rūdolfs Ošiņš 9e1fc49ae7 Fix mixed content warning when connecting to local node
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-05 13:49:52 +02:00
Sebastian Martinez a168a4d126 Pluralize values instead of parenthesis
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-03 14:10:47 +02:00
Sebastian Martinez 4c3bd7ee04 Fix statically replaced HASH_ROUTING env variables
Also moves the HASH_ROUTING env variable from being modified inside the
hashRouter.spec.ts into the webserver config in the
playwright.config.ipfs.ts

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-03 11:50:24 +02:00
Sebastian Martinez 09ceeed136 Add /raw route for getting images
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-14 11:13:15 +01:00
Sebastian Martinez 3ea6a07dc4 Update seed fixture to latest heartwood commit
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-14 11:13:15 +01:00
Rūdolfs Ošiņš 94d0ec50c5 Improve nodeId formatting on various views
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-07 13:30:40 +01:00
Sebastian Martinez 2498ef7c9e Fix some router issues
- Clicking on the project in various places goes now to `../<rid>`
  instead of `../<rid>/tree/<commit>`
- Project URL on seed allows trailing slash, eg. `../<rid>/`
- Navigating to a project URL with a `remotes/<nodeId>` suffix works now
  correctly w or w/o trailing slash

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-07 12:53:17 +01:00
Rūdolfs Ošiņš 2bad94457c Migrate to the heartwood protocol stack
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-03 14:23:46 +01:00
Sebastian Martinez d1168dc6ff Add issue creation
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-01 15:12:03 +01:00
Sebastian Martinez 0d50a5a984 Fix rounded corners in CommitTeaser
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-02-13 14:04:45 +01:00
Rūdolfs Ošiņš 5cbf8b97da Make search bar more interactive
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-13 11:28:42 +01:00
Rūdolfs Ošiņš 2c5830a076 Fix flaky specs
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-07 17:11:26 +01:00
xphoniex 9fae5ebb33 Update heartwood fixture and re-enable tests
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-01-30 14:27:46 +00: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
xphoniexandRūdolfs Ošiņš f72405a3e4 Add support for Heartwood
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-04 11:20:14 +01:00
Rūdolfs Ošiņšandxphoniex 4bb34023c2 Add Heartwood translation layer for file diffs
Co-authored-by: xphoniex <dj.2dixx@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-29 09:58:59 +01:00
Rūdolfs Ošiņšandxphoniex 26f96990a4 Extract fixture specific variables
Co-authored-by: xphoniex <dj.2dixx@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-28 12:23:28 +01:00
Rūdolfs Ošiņšandxphoniex 1a5430aced Rename URN -> ID
Co-authored-by: xphoniex <dj.2dixx@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-27 15:43:46 +01:00
Sebastian Martinez e86accafae Handle errors in Browser.svelte
Updates also the seed fixture to fix some minor issues and add a
relative image markdown example

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-21 17:10:20 +01:00
Rūdolfs Ošiņš e80fabbbdd Fix flaky visual tests
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-19 10:37:09 +01:00
Rūdolfs Ošiņš d5f690926e Move build smoke tests to a separate folder
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-16 15:06:05 +01:00
Rūdolfs Ošiņš 836b0ccc09 Extract fixture URL
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-16 15:06:05 +01:00
Rūdolfs Ošiņš 0b6d9586ee Extract custom app config in tests
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-16 15:05:57 +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
Rūdolfs Ošiņš 6c363e9313 Move all test files to the tests folder
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-01 16:36:40 +01:00
Rūdolfs OšiņšandSebastian Martinez 9cb9332e88 Replace Cypress with Playwright
Playwright is more flexible and has better developer experience than Cypress.
We add end to end tests covering:

  - project source browsing
    - tree view
    - commit list view
    - commit view
  - routing
    - hash based
    - history API based
  - clipboard copy paste functionality
  - seed view
  - project search
  - landing page view
  - settings

Co-authored-by: Sebastian Martinez <me@sebastinez.dev>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-01 15:54:56 +01:00