Commit Graph

57 Commits

Author SHA1 Message Date
Bryan Frimin
b4a6618736 Add PDF dropzone to audit list for streamlined report upload
Enable users to drag-and-drop PDF reports onto the audit list page, which automatically opens the create-audit dialog with the file attached. The dialog chains createAudit → uploadAuditReport mutations, with graceful handling for partial failures (audit created but upload failed).

Changes:
- AuditsPage: Add dropzone with visual overlay (dashed border + icon) when dragging PDFs
- CreateAuditDialog: Accept optional file prop, show file info, chain mutations on submit
- Extract audit ID from createAudit response to pass to uploadAuditReport
- Handle upload failure with warning toast, allowing manual upload from audit detail page
- Add react-dropzone dependency to console app

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2026-03-19 09:39:34 +01:00
Émile Ré
8dc96918df Update @vitejs/plugin-react
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-02-11 17:46:44 +04:00
Émile Ré
bb4721a691 Update some dependencies to get esbuild to use go 1.25.7
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-02-11 17:35:42 +04:00
Émile Ré
e6a97f6b29 Specify ports for vite dev servers and remove useless yaml conf from dev config
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-02-03 12:56:14 +04:00
Émile Ré
9b528c2b88 Fix eslint-plugin-relay d.ts reach by console and trust
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-23 15:51:05 +04:00
Émile Ré
c6bd2a2014 Use new eslint concurrency option
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-23 12:44:32 +04:00
Émile Ré
b4a73f2eea Update apps/console eslint dependency + compose eslint config with @probo/eslint-config
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 12:51:43 +04:00
Émile Ré
a82018a765 Update linting dependencies
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 12:51:42 +04:00
Émile Ré
27428377c6 Remove prettier in favor of @stylistic/eslint-plugin
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 12:51:42 +04:00
Yash Gupta
c24726b481 chore: add shared ESLint and Prettier configuration
Closes #615

- Add @probo/eslint-config package with ESLint 9.x flat config
- Enhance @probo/prettier with aligned stylistic rules
- Migrate console, trust, and UI packages to shared config
- Remove duplicate ESLint dependencies from individual packages

Signed-off-by: Yash Gupta <yash3144@gmail.com>
2026-01-22 12:51:42 +04:00
Émile Ré
15143ba632 Fix missing react-pdf dependency in console
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-19 11:52:54 +04:00
Émile Ré
bf83e162d9 Add new permissions handling for custom domain page
Signed-off-by: Émile Ré <nemile.re@gmail.com>
2026-01-17 11:02:53 -08:00
Émile Ré
6b2864e160 Move console to a relay multi project config
Signed-off-by: Émile Ré <nemile.re@gmail.com>
2026-01-17 11:02:51 -08:00
Émile Ré
b6ed13eade Setup 2 relay configs for 2 graphQL APIs
Signed-off-by: Émile Ré <nemile.re@gmail.com>
2026-01-17 10:07:41 -08:00
Bryan Frimin
74fc3b8cd1 Rewrite identity and access management
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2026-01-17 10:07:34 -08:00
dependabot[bot]
202f04b9b6 Bump react-router in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router).


Updates `react-router` from 7.10.0 to 7.12.0
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router@7.12.0/packages/react-router)

---
updated-dependencies:
- dependency-name: react-router
  dependency-version: 7.12.0
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-09 16:30:25 +01:00
Émile Ré
eab3af5f26 Handle document list state + API payload
Signed-off-by: Émile Ré <nemile.re@gmail.com>
2025-12-11 16:24:35 +01:00
Émile Ré
57caa9d28f Move route utils to packages/routes
Signed-off-by: Émile Ré <nemile.re@gmail.com>
2025-12-04 17:27:48 +04:00
Émile Ré
44336c2a35 Fix warnings
Signed-off-by: Émile Ré <nemile.re@gmail.com>
2025-12-04 17:27:47 +04:00
Jonathan
6dc6e2a626 Move dependencies
Signed-off-by: Jonathan <contact@grafikart.fr>
2025-12-01 18:23:11 +04:00
dependabot[bot]
6253254335 Bump vite in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 6.3.6 to 6.4.1
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.4.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.4.1
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-22 14:26:35 +02:00
dependabot[bot]
2af9649bf3 Bump vite in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 6.3.5 to 6.3.6
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.3.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.6
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 15:35:53 +02:00
Sacha Al Himdani
3639735215 Refacto public trust center
- More robust front authentification check to display the right button
- Remove trust relay to avoid query loop

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-08-22 22:04:08 +02:00
Sacha Al Himdani
d31f611e63 Use relay and refacto public trust center
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-08-22 11:49:57 +02:00
Sacha Al Himdani
d6ba8e1072 Remove old frontend
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-06-13 14:01:04 -07:00
Jonathan
e1b63b59a6 Use custom lazy for loading components
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-06-13 13:23:45 -07:00
Bryan Frimin
ccdfe67dc5 Allow html in markdown
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2025-05-04 10:39:04 -07:00
Bryan Frimin
5d690c0713 Allow table in markdown
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2025-05-01 22:45:26 -07:00
Bryan Frimin
8b313c2cf4 Move vendors in a dedicated package
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2025-05-01 14:49:32 -07:00
Bryan Frimin
1bcbcc50af Remove unused lexical dep
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2025-04-30 19:08:40 -07:00
Bryan Frimin
eb437241cc Fix missing tsc as dev dependency
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2025-04-17 15:14:24 -07:00
gearnode
16efab774a Refactor risk management
Signed-off-by: gearnode <bryan@frimin.fr>
2025-04-12 00:18:31 -07:00
Émile Ré
e8dacef374 Add new colors and wip use them all instead of tailwind ones
Signed-off-by: Émile Ré <nemile.re@gmail.com>
2025-04-05 18:39:11 +04:00
gearnode
c92c2f9238 Fix @probo/react-lazy
Signed-off-by: gearnode <bryan@frimin.fr>
2025-03-26 09:36:50 +01:00
gearnode
c6f47a2b5a Fix react lazy chunck error
Signed-off-by: gearnode <bryan@frimin.fr>
2025-03-25 20:27:05 +01:00
gearnode
c4e4b16300 Use @probo/react-lazy instead of native React.lazy
close #58

Signed-off-by: gearnode <bryan@frimin.fr>
2025-03-25 16:16:26 +01:00
gearnode
5ca45552f1 Render markdown for control description
Signed-off-by: gearnode <bryan@frimin.fr>
2025-03-13 18:38:34 +01:00
gearnode
3de73b9e89 Add missing deps
Signed-off-by: gearnode <bryan@frimin.fr>
2025-03-13 10:09:58 +01:00
gearnode
123a538d82 Embded frontend inside go binary
This will simplify the self hosting of the platform.

Signed-off-by: gearnode <bryan@frimin.fr>
2025-03-09 15:30:28 +01:00
gearnode
79c69b681e Improve policy overview style
Signed-off-by: gearnode <bryan@frimin.fr>
2025-03-05 10:58:15 +01:00
gearnode
f253a15af8 Improve policies list UI
Signed-off-by: gearnode <bryan@frimin.fr>
2025-03-05 10:49:05 +01:00
gearnode
fdab9de39f Fix missing lexical dependencies
Signed-off-by: gearnode <bryan@frimin.fr>
2025-03-04 12:23:34 +01:00
gearnode
eef87f3907 Rewrite esbuild postcss plugin
Signed-off-by: gearnode <bryan@frimin.fr>
2025-03-02 10:48:30 +01:00
gearnode
45066a0095 Upgrade from tailwind v3 to v4
Signed-off-by: gearnode <bryan@frimin.fr>
2025-03-02 09:24:05 +01:00
gearnode
367cf02e60 Add proper custom scalar type definitions
Update Relay's GraphQL scalar types by adding explicit type
definitions in package.json. This change:
- Defines custom scalar types for Datetime and CursorKey as strings
- Updates generated TypeScript files to use string types instead of any
- Improves type safety across the application by replacing any with proper types

This change provides better TypeScript type checking and reduces
implicit any usage throughout the codebase.

Signed-off-by: gearnode <bryan@frimin.fr>
2025-02-28 12:17:09 +01:00
gearnode
c362970098 Fix unused eslint error
Signed-off-by: gearnode <bryan@frimin.fr>
2025-02-26 12:32:34 +01:00
gearnode
c6cff715d5 Migrate current organization from in memory to url state
Signed-off-by: gearnode <bryan@frimin.fr>
2025-02-26 12:02:51 +01:00
gearnode
2d5514e45d Add update vendor logic
Signed-off-by: gearnode <bryan@frimin.fr>
2025-02-18 14:24:10 +01:00
gearnode
5864e092e6 Add create people
Signed-off-by: gearnode <bryan@frimin.fr>
2025-02-12 16:39:31 -08:00
gearnode
ddda589ffe Add typecheck script
Signed-off-by: gearnode <bryan@frimin.fr>
2025-02-12 13:22:17 -08:00