Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add action to open link in browser #1315

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

philprime
Copy link
Contributor

@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

All modified and coverable lines are covered by tests ✅

Project coverage is 7.23%. Comparing base (70f9f94) to head (dfad4c8).
Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1315   +/-   ##
=====================================
  Coverage   7.23%   7.23%           
=====================================
  Files        263     263           
  Lines       5376    5376           
  Branches     580     580           
=====================================
  Hits         389     389           
  Misses      4981    4981           
  Partials       6       6           
Flag Coverage Δ
unittests 7.23% <ø> (ø)

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.


🚨 Try these New Features:

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