Skip to content

Conversation

philprime
Copy link
Member

@philprime philprime commented Nov 4, 2024

Fixes #1103

Add action to open link in browser

  • Add OPEN_LINK to ActionType enum in prisma/schema.prisma.
  • Add optional link field to Action model in prisma/schema.prisma.
  • Add optional link field to ActionDto class in src/models/dtos/request/createMessageDto.ts.
  • Add optional link field to ActionDto interface in src/models/dtos/response/actionDto.ts.
  • Update actions property to include link field in MessageDto interface in src/models/dtos/response/messageDto.ts.
  • Add optional link field to Action interface in src/models/action.ts.
  • Add OPEN_LINK to ActionType enum in public/openapi.json.
  • Add optional link field to ActionDto schema in public/openapi.json.

For more details, open the Copilot Workspace session.

Fixes #1103

Add action to open link in browser

* Add `OPEN_LINK` to `ActionType` enum in `prisma/schema.prisma`.
* Add optional `link` field to `Action` model in `prisma/schema.prisma`.
* Add optional `link` field to `ActionDto` class in `src/models/dtos/request/createMessageDto.ts`.
* Add optional `link` field to `ActionDto` interface in `src/models/dtos/response/actionDto.ts`.
* Update `actions` property to include `link` field in `MessageDto` interface in `src/models/dtos/response/messageDto.ts`.
* Add optional `link` field to `Action` interface in `src/models/action.ts`.
* Add `OPEN_LINK` to `ActionType` enum in `public/openapi.json`.
* Add optional `link` field to `ActionDto` schema in `public/openapi.json`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/kula-app/OnLaunch/issues/1103?shareId=XXXX-XXXX-XXXX-XXXX).
Copy link

codecov bot commented Nov 4, 2024

Codecov Report

Attention: Patch coverage is 10.41667% with 43 lines in your changes missing coverage. Please review.

Project coverage is 6.31%. Comparing base (82e4769) to head (a79163a).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...tor/_components/draft/draft-message-action-row.tsx 0.00% 25 Missing ⚠️
src/components/display-mapper.ts 0.00% 9 Missing ⚠️
.../message-editor/_models/draft/draft-form-schema.ts 0.00% 4 Missing ⚠️
src/pages/api/v0.2/messages.ts 0.00% 2 Missing ⚠️
...nts/message-editor/_components/form-step-draft.tsx 0.00% 1 Missing ⚠️
src/components/message-editor/message-editor.tsx 0.00% 1 Missing ⚠️
src/models/message-action-link-target.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main   #1315      +/-   ##
========================================
- Coverage   6.32%   6.31%   -0.02%     
========================================
  Files        306     308       +2     
  Lines       6260    6291      +31     
  Branches     680     683       +3     
========================================
+ Hits         396     397       +1     
- Misses      5858    5888      +30     
  Partials       6       6              
Flag Coverage Δ
unittests 6.31% <10.41%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add action to open link in browser

1 participant