Skip to content
New issue

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

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

Already on GitHub? # to your account

✨ Chore: Migrate from Page POST requests to proper API Endpoints #158

Merged
merged 9 commits into from
Jul 10, 2024

Conversation

create-issue-branch[bot]
Copy link
Contributor

Original issue description

Currently we use Page Post requests within the Astro Frontmatter for handling most of the routes on the dashboard ( Example: Lines 45-112 ) This Issue would convert all of these into their own Astro API Endpoint, allowing more flexibility and customization of the StudioCMS Admin dashboard in the future!

closes #157

@create-issue-branch create-issue-branch bot added chore enhancement New feature or request labels Jul 9, 2024
@create-issue-branch create-issue-branch bot changed the title Chore: Migrate from Page POST requests to proper API Endpoints ✨ Chore: Migrate from Page POST requests to proper API Endpoints Jul 9, 2024
@create-issue-branch create-issue-branch bot changed the title Chore: Migrate from Page POST requests to proper API Endpoints ✨ Chore: Migrate from Page POST requests to proper API Endpoints Jul 9, 2024
@Adammatthiesen Adammatthiesen mentioned this pull request Jul 9, 2024
17 tasks
@Fryuni
Copy link
Contributor

Fryuni commented Jul 9, 2024

🚂 let's gooo

@Adammatthiesen Adammatthiesen marked this pull request as ready for review July 9, 2024 20:11
Copy link
Member

@TheOtterlord TheOtterlord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

woohoo! 🎉

Copy link
Member

@dreyfus92 dreyfus92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Insane refactor @Adammatthiesen, LGTM ✅

Comment on lines -13 to +16

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got a stray space there. Run a linter 💅🏼

@Adammatthiesen
Copy link
Member

!coauthor

Copy link
Contributor

Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
Co-authored-by: Adam Matthiesen <30383579+Adammatthiesen@users.noreply.github.com>
Co-authored-by: Jacob Jenkins <7649031+jdtjenkins@users.noreply.github.com>
Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>

@Adammatthiesen Adammatthiesen merged commit 435c795 into main Jul 10, 2024
1 check passed
@Adammatthiesen Adammatthiesen deleted the issue-0157 branch July 10, 2024 16:43
@create-issue-branch create-issue-branch bot mentioned this pull request Jul 23, 2024
17 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
chore enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chore: Migrate from Page POST requests to proper API Endpoints
5 participants