Skip to content

Markdown Blog Manager 1.0 - #3255

Merged
pernielsentikaer merged 15 commits into
raycast:mainfrom
pyronaur:main
Nov 1, 2022
Merged

pernielsentikaer merged 15 commits into
raycast:mainfrom
pyronaur:main

Conversation

@pyronaur

Copy link
Copy Markdown
Contributor

Description

Adding a Raycast extension to manage markdown file based blogs.

Checklist

@raycastbot raycastbot added the new extension Label for PRs with new extensions label Oct 17, 2022
@raycastbot

Copy link
Copy Markdown
Collaborator

Congratulation on your new Raycast extension! 🚀

We will review it shortly. Once the PR is approved and merged, the extension will be available on the Store.

@pernielsentikaer pernielsentikaer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi 👋

Thanks for your contribution 💪

I have now tested your extension and I have some feedback ready for you:

  • You should consider using placeholders instead since it looks like this every time I enter the command

CleanShot 2022-10-25 at 09 16 01@2x

There might be some more, but let's start with this 😊

I'm looking forward to testing this extension again 🔥

Request a new review when you are ready. Feel free to contact me here or at Slack if you have any questions.

@pernielsentikaer pernielsentikaer self-assigned this Oct 25, 2022
@pyronaur

Copy link
Copy Markdown
Contributor Author

Whoa, thanks for reviewing, I've been using the extension for some time now and never ran into any of these issues. Glad to have someone else take a peek at it before it goes live 🙂

I'll have a look and get back to you with updates as soon as I can 👍

@pernielsentikaer

Copy link
Copy Markdown
Contributor

Awesome 📿

It happens to me all the time when developing, sometimes the best thing to do is to uninstall and start fresh since we always code for happy flows 😊

I'm looking forward to testing this extension again 🔥

@pyronaur

Copy link
Copy Markdown
Contributor Author

You should consider using placeholders instead since it looks like this every time I enter the command

Done, I've switched the title to placeholder now

Consider using useForm instead, for better handling of the forms (and validation) - it's also possible to make a new post without a title.

The documentation seemed a bit incomplete at first, which is why I didn't pay much attention to useForm at first. Switched to useForm now and......its soooo much easier to handle forms that way 🤯

There is no folder path for public in the package.json file, shouldn't there be that?

Variable names throughout iterations got funky. Renamed, should be consistent now.

How does Category work, couldn't figure that out in the README

I've renamed "Category" to "Subdirectory". I use sub-directories as categories, but not everyone might want to do that. They are mentioned in the readme, so hopefully renaming made that clearer, but if it doesn't - I'll welcome any feedback that you may have on how to clarify further.

There is something funny going on when changing the title
https://user-images.githubusercontent.com/38033107/197706487-587933eb-6970-42ec-bd87-507123ce5d87.mp4

That was really funky. Looks like the issue went away now that I'm using useForm.

@pernielsentikaer

Copy link
Copy Markdown
Contributor

Do you think it could be an idea to auto-create the folders (draft/public) if they don't exist or at least handle the error telling the user to create the directories 😊

@pyronaur

Copy link
Copy Markdown
Contributor Author

I really wish there was a "Raycast way" of handling that workflow. A lot can go wrong, like if I attempt to create a directory that doesn't exist, but the specified path was wrong by one character at the start of the string, that would create a long invalid path of directories.

But for now - I think you're right, some sort of error should be surfaced and the setting unset if the specified path is invalid.

@pernielsentikaer

pernielsentikaer commented Oct 27, 2022 •

Copy link
Copy Markdown
Contributor

Then maybe just check if the path exists and an error telling that the user has to create it instead?

@pyronaur

Copy link
Copy Markdown
Contributor Author

Sounds good 👍

@pyronaur

Copy link
Copy Markdown
Contributor Author

Hi @pernielsentikaer,
I've wrapped both commands in a helper that checks if the paths are valid, and if they aren't - it'll show a somewhat user-friendly error message:
Raycast-1

It's not looking as pretty as I'd want it to be, but I guess that's a limitation in Raycast for now. Or is there a better way?

@pernielsentikaer

Copy link
Copy Markdown
Contributor

Hi @pyronaur 👋

It's much better now, could you look into this linter error, maybe one of the old files still exists?

I think it didn't like that preferences exported both default and a named value
@pyronaur

pyronaur commented Nov 1, 2022

Copy link
Copy Markdown
Contributor Author

I think it didn't like that preferences exported both default and a named value. Should be ok now.

@pyronaur

pyronaur commented Nov 1, 2022

Copy link
Copy Markdown
Contributor Author

Oooh. I'm using rsync without --delete to sync my own repository with raycast extensions. I need to update my workflow 😅

@pernielsentikaer pernielsentikaer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi 👋

Looks good to me, approved 🔥

@pernielsentikaer
pernielsentikaer merged commit 08a0f74 into raycast:main Nov 1, 2022
@raycastbot

Copy link
Copy Markdown
Collaborator

@pyronaur

pyronaur commented Nov 1, 2022

Copy link
Copy Markdown
Contributor Author

🎉🎉🎉
Thank you @pernielsentikaer for patiently walking through the code review with me. Truly appreciate it 👍

arguiot added a commit to arguiot/raycast-extensions that referenced this pull request Sep 6, 2025
- Update package.json
- Remove card hover animations (raycast#3298)
- Raycast extension V1 (raycast#3238)
- (Part 2) Notification system (raycast#3120)
- Fix cannot access meeting while starting a new meeting (raycast#3246)
- Fix issue with auto-start being triggered when you go to new meeting (raycast#3295)
- Enable commenting on external meetings (raycast#3294)
- Remove command menu divider (raycast#3293)
- Fix for not showing selected screen in record panel (raycast#3290)
- Fix bug with comments not being associated with words (raycast#3291)
- Fix command menu colour in dark mode (raycast#3292)
- Fix for meeting having no attendees/participants (raycast#3279)
- Fix for screen showing at the end (raycast#3287)
- Floating panel component (raycast#3266)
- Update raycast oauth scope (raycast#3289)
- LLM language response prompt update (raycast#3286)
- Fix for not able to update meeting (raycast#3272)
- Fix for screen syncing issue (raycast#3255)
- Fix account disconnects (raycast#3285)
- Delete meeting window detection/notification hook (raycast#3283)
- Only remux for our recordings, don\'t remux recall (raycast#3235)
- ical_uid fix (raycast#3281)
- Fix spacing for last action item (raycast#3280)
- Dedup calendar meetings across different calendars (raycast#3268)
- Do not autostart when recording (raycast#3278)
- Always use inputUri as fileUrl for `detect-language` (raycast#3276)
- Use inputUri as default fileUrl on detect language receiver (raycast#3275)
- Fix missing header in GCS finish upload path (future meetings) (raycast#3264)
- Fix keyboard issues on mobile (raycast#3274)
- Mobile web fixes for multi-select (raycast#3263)
- Exclude device recording meetings from recall check (raycast#3270)
- Update mobile labeler (raycast#3269)
- Update left nav badge (raycast#3256)
- Fix bug with missing attendees in people tab (raycast#3265)
- Moved discard changes to a shared hook (raycast#3262)
- Minor style updates for nested subcommands (raycast#3260)
- Awaiting for router to complete after discarding automation (raycast#3261)
- Add Cmd/Ctrl+N for new meeting (raycast#3257)
- Define relevant attendees before usage (raycast#3259)
- Prorated seat charge comments (raycast#3254)
- Add email sender attribution Posthog events (raycast#3045)
- Preparing for store
- Remove default val for `excludeRecallMeetings` (raycast#3253)
- Onboarding V2: Prompt for calendar access (raycast#3183)
- Schedule team seat update on deactivate/invite/make viewer/etc (raycast#3234)
- Update oauth.ts
- Update search-meetings.tsx
- Remove duplicate maxDuration config (raycast#3250)
- Clean up imports and meeting URL construction
- Fix assistant submit button alignment (raycast#3251)
- Add fire icon and improve Raycast extension text
- Add new db alerts to github actions [1 liner] (raycast#3249)
- Add better DB alerts (raycast#3248)
- Update package.json
- Lint
- Merge branch \'main\' into arthur/raycast
- Connect input field (raycast#3195)
- Fix last unmatched attendee when calendar invitee has diff email (raycast#3240)
- cleanup
- Improved extension
- Merge branch \'arthur/oauth-pkce\' into arthur/raycast
- Update oauth.ts
- [DB Migration] Adds OAuth PKCE authorization flow
- [wip]
- Merge branch \'main\' into arthur/raycast
- setting up OAuth
- [wip]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants