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 Todoist extension #57

Merged
merged 3 commits into from
Oct 19, 2021
Merged

feat: add Todoist extension #57

merged 3 commits into from
Oct 19, 2021

Conversation

thomaslombart
Copy link
Collaborator

Description

Add an extension to manage your Todoist tasks. Here are the different commands:

  • See your tasks due today
  • See your upcoming tasks grouped by dates
  • See all your projects and the tasks for each project
  • Create a task
    • Title (markdown supported)
    • Description (markdown supported)
    • Due date
    • Priority
    • Project

Type of change

  • New extension

Screencast

Today view

CleanShot 2021-10-16 at 11 57 23@2x

Projects command

CleanShot.2021-10-16.at.11.57.37.mp4

Upcoming command

CleanShot.2021-10-16.at.11.56.30.mp4

Create command

CleanShot 2021-10-16 at 12 05 20@2x

Checklist

@PitNikola PitNikola added the new extension Label for PRs with new extensions label Oct 16, 2021
Copy link
Member

@thomaspaulmann thomaspaulmann left a comment

Choose a reason for hiding this comment

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

Wow, this is a super cool extension. Congrats to your first contribution @thomaslombart 👏

I left some inline comments that you might want to check out. I also changed the command names to fit our UI guidelines. Let me know what you think.

Comment on lines +13 to +18
try {
await axiosInstance.post(`/tasks`, body);
showToast(ToastStyle.Success, "Task created");
} catch {
showToast(ToastStyle.Failure, "Could not create task");
}
Copy link
Member

Choose a reason for hiding this comment

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

Usually we show a task while something is updated and follow this naming:

Suggested change
try {
await axiosInstance.post(`/tasks`, body);
showToast(ToastStyle.Success, "Task created");
} catch {
showToast(ToastStyle.Failure, "Could not create task");
}
const toast = showToast(ToastStyle.Animated, "Creating task");
try {
await axiosInstance.post(`/tasks`, body);
toast.style = ToastStyle.Success;
toast.title = "Created task";
} catch (e) {
toast.style = ToastStyle.Failure;
toast.title = "Failed creating task"
toast.message = e instanceof Error ? e.message : undefined;
}

Do you want to adopt it to the other actions as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh, I see. That provides a better UX indeed. I'll make these changes in an update then, thanks!

@thomaspaulmann thomaspaulmann merged commit 010d16a into raycast:main Oct 19, 2021
FezVrasta pushed a commit to FezVrasta/extensions that referenced this pull request Nov 24, 2021
* feat: add Todoist extension

* Update extensions/todoist/package.json

* Apply suggestions from code review

Co-authored-by: Thomas Paul Mann <[email protected]>
solomkinmv added a commit to solomkinmv/raycast-extensions that referenced this pull request Apr 26, 2024
- Update url to hotkys.com
- Add Typora keymap (raycast#57)
- Add helix editor (raycast#55)
- Add Slack markdown formatting shortcut
- Add Outlook archive shortcut
- Reduce rate for page with implicit keymap
- Update sitemap generation
- Fix build
- Update footer
- Add source property
- Generate sitemap and fix warnings
- Add implicit keymap
- Align header
- Improve styles
- Change highlight color
- Add keymap support
- Migrate to Tailwind and chadcn
- Update 1password shortcut
- Remove sitemap generation
- Fix finder slug
- Add shortcuts for 1Password
- Generate sitemap, robots and manifest
- Make footer sticky to the bottom
- Fix Raycast image warning
- Add alt for Raycast screenshots
- Remove redundant global styles
- Remove unused components
- Remove unused component
- Use anchor for shortcut sections
- Remove combined-apps from repo
- Add Finder shortcuts
- Refactor pages
- Add Google Chrome shortcuts
- Update README
- Update test to check raw shortcuts data source
- Generate page titles
- Fix repo link
- Add Google Analytics
- Fix imports
- Update build site PR action
- Remove old site
- Update README and build scripts to point to the new site
- Remove apps from sitemap
- Generate sitemap
- Add scripts
- Add Not Found page
- Migrate to link in header
- Use config provider
- Move ui and lib dirs
- Add Apple Notes shortcuts
- Add missing styles
- Use footer based on AntDesign
- Use About page based on AntDesign
- Add raycast images
- Handle missing window dimensions
- Add Raycast page on client
- Display all application shortcuts on client
- Update inline code component
- Display shortcuts
- Add inline code style component
- Update styles
- Draft about page
- Set up tests
- Configure static export
- Make basic page setup
- Draft base nextjs project
- Add Apple Notes shortcuts
Parajulibkrm added a commit to Parajulibkrm/raycast-extensions that referenced this pull request Nov 9, 2024
- initial features
- Merge pull request raycast#103 from axyut/port-to-oslo
- fix: expire session conditional
- feat: completely removed lucia-auth dependency
- minor changes
- fix: 🐛 no day selection on !isSameMonth
- feat: ✨ internal package for query
- feat: ✨ types package
- fix: minor
- refactor
- deps: change nepali date package
- backend: auth, google calendar integration
- Basic UI components
- minor fixes
- Added raycast initial
- feat: ✨ Migrated to v51 for expo
- initial commit
- added gitignore
- ignore turbo
- Added gitignores
- cleanup
- feat: ✨ Added announcement
- typo
- fix: 💄 view all events button not spanning full width
- chore: bump date package version
- fix: set fixed height of day cells
- Merge pull request raycast#64 from nabinkdl/main
- Update About.tsx
- Merge pull request raycast#60 from pandeysubash404/event-display
- Merge pull request raycast#61 from yuvrajdahal/main
- Merge pull request raycast#63 from PoskOfficial/fix/issue62
- fix: 🐛 app crashing on switching months
- Synchorization issue with previous code
- English date converter crashing fixed
- English date converter crashing fixed
- fix: 🚑 Update user logic on signin bug fix
- Updated to display today\'s date
- fix: 🐛 Update db information on sign in
- Merge pull request raycast#59 from pandeysubash404/event-display
- chore: 🐛 Fixed Positioning of Relative Date on Homepage
- chore: ♻️ Made the event string logic declarative
- conveys the logic in a more declarative manner
- adjustments to the relativeTimeFromElapsed function
- fixed event issue and hide user data from console
- Fixed the issue related event display
- Merge pull request raycast#57 from pandeysubash404/fix-date-issue
- chore: ➖ Removed Jest Dev Dependency
- Removed package-lock.json and added pnpm-lock.yaml as requested
- Remove pnpm dependency as requested by repository owner
- Fix date issue in input field
- Changed readme
- Create LICENSE
- Updated type definitions
- Merge pull request raycast#52 from nabin-kandel/main
- Merge branch \'PoskOfficial:main\' into main
- chore: ✨ updated screenshots
- ScreenShot Updated
- Merge pull request raycast#50 from PoskOfficial/develop
- fix: 🐛 page reloading in mobile view
- Merge pull request raycast#49 from nabin-kandel/main
- Added Open graph Description
- Update Readme.md
- Added og image
- Merge pull request raycast#48 from nabin-kandel/main
- Added banner image
- Merge pull request raycast#47 from PoskOfficial/fix_create_event_date
- style: 💄 changed footer border color
- fix: 🐛 event end and start date off by 1
- Added missing lock files
- Added missing lock files
- Merge pull request raycast#46 from PoskOfficial/develop
- chore: ✏️ updated translation values
- chore: ⚰️ removed unused translations
- feat: ✨ added footer
- moved imports
- Deleted large file
- Added update logic
- chore: 🚧 Added new SW
- Merge pull request raycast#45 from PoskOfficial/datepicker_fix
- style: 💄 fixed spinner\'s wrong positioning
- fix: 🐛 month date picker value offset by -1
- fix: 🐛 corrected photo url
- fix: 🐛 Fixed User Query issue
- fix: 🐛
- feat: 🐛 Added offline support to react query
- Added calendar picker to event creation modal
- fix: 🐛 Fixed width issues in homepage
- Removed unused param
- Made time field required
- fix: 🐛 Removed unnecessary console logs
- fix: 🐛 Fixed some UI Bugs
- Added missing adhik to english translation of chandrama
- fix: ⚰️ Removed redundant code
- fix: 🐛 Fixed Spinner Size
- perf: ⚡ Refactored for performance and readability
- Merge pull request raycast#43 from PoskOfficial/dark_mode
- style: 💄 added dark mode to the event dialogue
- feat: ✨ Added Analytics to install btn
- feat: ✨ added access role to events
- feat: ✨ Added endpoint to get calendar list
- Merge pull request raycast#42 from PoskOfficial/dark_mode
- fix: 💚 fixed build removing unused imports
- Merge branch \'main\' into dark_mode
- feat: ✨ added styles for dark mode
- feat: ✨ Added support for multiple calendars on backend
- feat: ✨ Added Analytics
- Merge pull request raycast#41 from PoskOfficial/nischal
- Merge branch \'nischal\' of https://github.com/PoskOfficial/Nepali-calendar-web into nischal
- fix: 🐛 fixed minor bug during language translation in dropdown
- fix language issue
- Merge remote-tracking branch \'origin/main\' into
- changes in translation files
- js to ts file
- Removed unused files
- Merge remote-tracking branch \'origin/main\' into nischal
- feat: ✨ Stored Dark Mode setting in local storage
- spinner in upcoming events page
- hide language change buttons
- feat: 🚧 added date difference string to single upcoming event, and setup language translation for date converter page
- Fixed ts issues in i18next
- Fixed Hamburger color
- Added Dark Mode Strategy to tailwind
- Refactored
- Bug fixes
- Added contact details in about page
- feat: ✨ Added credits in About Page
- bug fixes
- docs: 📝 Changed translation of Home
- fix: 🐛 Fixed Crash on clear
- Merge pull request raycast#40 from PoskOfficial/user_settings_disclosure
- refactor: ♻️ used higher quality icon for sign in with google
- refactor: ♻️ used sign in with google icon instead of text
- feat: ✨ added a disclosure to switch languages
- Added missing lock file
- Merge branch \'main\' of https://github.com/PoskOfficial/Nepali-calendar-web
- Added about page
- fix: ✨ Increased cookie life
- Merge pull request raycast#39 from PoskOfficial/nischal
- refactor: 🚚 moved useLanguage to helper and renamed useUser
- fix: 💚 removed unused imports, changed useLangauge name
- Merge remote-tracking branch \'origin/main\' into nischal
- feat: 🚧 added uselangauge hook,
- calendar date , reminder text and upcoming
- Merge pull request raycast#38 from poudelsanchit/main
- Merge branch \'main\' into pr/poudelsanchit/38
- Fix some linting errors
- fix: 🐛 Fixed no update on logout
- feat: ✨ Added Install Toaster Popup
- feat: ✨ Add PWA Install Button
- Added app shortcuts
- feat: ✨ Added Screenshots on install screen
- feat: 🐛 Added support for offline first in react query
- feat: ✨ DateConverter
- feat: ✨ Cached api response
- fix: 🐛 Fixed No event fetched on month change
- Bug fixes
- Merge pull request raycast#37 from PoskOfficial/add_react_query
- fix: 🩹 checked for loading state for rendering events list
- fix: ⚰️ removed unused imports
- Merge branch \'main\' into add_react_query
- fix: 🐛 off by 1 error in chandrama
- feat: ✨ added react query
- Added new logo
- feat: 🚧 progressed with the feature
- docs: 📝 Added Fork and setup instructions
- feat: 🚧 language translation
- Merge pull request raycast#36 from PoskOfficial/feat_nepali_date_picker
- Merge branch \'main\' into feat_nepali_date_picker
- fix: 🐛 next month to the selection being selected
- Merge branch \'feat_nepali_date_picker\' of github.com:PoskOfficial/Nepali-calendar-web into feat_nepali_date_picker
- fix: 🐛 end and start time, timezone error
- added node modules to gitignore
- Merge pull request raycast#35 from PoskOfficial/nischal
- Merge branch \'main\' into nischal
- added gitignore
- chore: Added single command to install both frontend and backend
- feat: ✨ added nepali date picker
- feat: ✨ added a popup modal for each reminder
- popup modal for single event
- Merge pull request raycast#34 from PoskOfficial/google_cal_compatible
- refactor: ♻️ made start and end date logic declarative
- fix: 🐛 multi day all day events not showing up
- Merge remote-tracking branch \'origin/main\' into nischal
- feat: 🚧 events popup
- feat: ✨ event date time compatible with google calendar
- feat: ✨ Added Delete Event Route
- feat: ✨ Added event background sync
- Merge pull request raycast#14 from PoskOfficial/nischal
- fixes in calendar.tsx
- feat: ✨ Added event color dot
- Added Event Creation and List
- feat: ✨ Fetched Event List from backend
- Added build step to docs
- docs: 📝 Added Readme
- added lib to gitignore
- feat: 🌱 Added missing files
- Added deta space configuration
- Merge branch \'main\' of https://github.com/Parajulibkrm/calendar-backend
- moved to backend folder
- moved files to frontend/
- feat: ✨ Added Google Authentication
- feat: ✨ Added Privacy Policy
- Merge pull request raycast#13 from nirajacharyaa/main
- Merge branch \'main\' into main
- fix: 🐛 Escaped APi Route from Client side cache
- feat: ✨ Changed hashrouter to browserrouter
- Fixed auth links cache issue
- fix: 🐛 upcoming events and minor styles
- Added Sign In
- Styling bug fixes
- Added a navbar
- Merge pull request raycast#12 from nirajacharyaa/view-added-events
- fix: 💚 build fix
- feat: ✨ user events modal and view events
- added .env to giitignore
- initial commit
- refactor: 🔥 Removed image for floating action button
- Merge pull request raycast#11 from PoskOfficial/popupmodal
- Reminder popup modal for indivdual day
- Merge branch \'main\' of https://github.com/PoskOfficial/Nepali-calendar-web
- added reminder popup
- feat: 🐛 fixed off by one error
- feat: ✨ Added upcoming events page. credit: @headshigh
- feat: ✨ Added Multiple Event List for each day
- Merge pull request raycast#10 from PoskOfficial/pwa-setup
- chore: 🐛 Fixed PWA issue
- chore: ✨ Added PWA configuration
- Merge pull request raycast#8 from nirajacharyaa/load_calendar_data
- fix: 🐛 Bug Fixes
- fix: minor changes
- Update issue templates
- Update issue templates
- Revert "Merge branch \'main\' into load_calendar_data"
- Merge branch \'main\' into load_calendar_data
- fix: events dots
- minor fixes
- Bug fixes
- fix: 🐛 Fixed off by one error
- memoized
- set selected day to today
- Merge pull request raycast#7 from PoskOfficial/nischal
- ts error fix
- lockfileversion
- improvements
- chore: loaded calendar data
- upcoming events page incomplete
- Merge branch \'main\' of https://github.com/PoskOfficial/Nepali-calendar-web
- chore: 🍱 Added Calendar Files
- Update issue templates
- fixed type warnings
- chore: 🎉 Initial Commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new extension Label for PRs with new extensions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants