-
Notifications
You must be signed in to change notification settings - Fork 53
deploy #1009
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
Open
oliursahin
wants to merge
200
commits into
main
Choose a base branch
from
preview
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
deploy #1009
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feat: imp Journal
feat: imp date base journal
daily notes cal added
feat: blue dots on notes under date
feat: added success msg
feat: all the scheduled objects of that day
chore: update default port from 8080 to 3000 and use nullish coalesci…
Revert "chore: update default port from 8080 to 3000 and use nullish coalesci…"
Fix: Update server to listen on 0.0.0.0 to accept connections from an…
fix: replace nullish coalescing with logical OR for PORT env var fall…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
What did you ship?
Fixes:
Checklist:
OR:
Important
This pull request updates server configurations, environment settings, and enhances frontend UI components, including new pages and improved notification handling.
index.js
: Server now listens on all interfaces (0.0.0.0
).environment.loader.js
: DefaultPORT
changed from8080
to3000
.package.json
: Updated project name and repository URL.next.config.ts
: Disabled type checking and ESLint during production builds.agenda/page.tsx
: AddedDailyNotes
component and commented outCalendarBlock
.objects/page.tsx
: New page for displaying all objects with error boundary and suspense.journal/page.tsx
: New journal page withJournalPage
component.editor.tsx
: Updated editor to usenovel
package with custom extensions.block-context.tsx
: Added support for overdue items in context.use-objects.ts
: Enhanced optimistic updates and error handling for object mutations.agenda-list-items.tsx
: Added overdue items section.notification.tsx
: New notification component with global access.test-toast.tsx
: Component to test toast notifications.This description was created by
for fcee865. You can customize this summary. It will automatically update as commits are pushed.
CodeAnt-AI Description
This PR introduces major enhancements to the agenda, journal, and object management features, significantly improving the user experience with new UI components, robust error handling, and better feedback mechanisms. It also includes important configuration and backend updates to support these frontend changes and ensure smoother deployments.
Changes walkthrough
16 files
daily-notes.tsx
Add DailyNotes component with calendar and editor integration
apps/web/src/components/blocks/daily-notes/daily-notes.tsx
DailyNotes
component with a calendar UI for selectingand editing daily notes.
fallback.
indicators for days with entries.
agenda-list-items.tsx
Add AgendaListItems for today's and overdue scheduled objects
apps/web/src/components/blocks/list/agenda-list-items.tsx
AgendaListItems
component to display today's and overduescheduled objects.
each item.
icons.
agenda-list.tsx
Add AgendaListBlock component for agenda context
apps/web/src/components/blocks/list/agenda-list.tsx
AgendaListBlock
component to wrap and provide context foragenda list items.
page.tsx
Update agenda page to use DailyNotes and AgendaListBlock
apps/web/src/app/(routes)/agenda/page.tsx
DailyNotes
andAgendaListBlock
components into theagenda page.
page.tsx
Add objects page to display all objects with error handling
apps/web/src/app/(routes)/objects/page.tsx
suspense loading.
page.tsx
Add journal page route with JournalPage component
apps/web/src/app/journal/page.tsx
JournalPage
component.journal-entry.tsx
Add JournalEntry component for editing journal entries
apps/web/src/components/journal/journal-entry.tsx
JournalEntry
component for creating and editing individualjournal entries.
with toast notifications.
journal-page.tsx
Add JournalPage component with tabbed journal management
apps/web/src/components/journal/journal-page.tsx
JournalPage
component to manage journal entry tabs, history, andtoday's entry.
journal history.
app-sidebar.tsx
Update sidebar to use Objects route and icon
apps/web/src/components/sidebar/app-sidebar.tsx
icon.
notification.tsx
Add reusable notification and notification container components
apps/web/src/components/ui/notification.tsx
displaying success, error, and info messages.
window.showNotification
.objects.ts
Update getTodayObjects to include overdue objects
apps/web/src/actions/objects.ts
getTodayObjects
to return both today's and overdue objects.block-context.tsx
Enhance block context to support overdue items
apps/web/src/contexts/block-context.tsx
items
andoverdueItems
foragenda/today views.
arrays.
use-objects.ts
Enhance object mutation hooks with optimistic updates and
notifications
apps/web/src/hooks/use-objects.ts
object mutations.
editor.tsx
Adjust editor layout for full width usage
apps/web/src/components/editor/editor.tsx
consistency.
slash-command.ts
Add slash command for todo/task list in editor
apps/web/src/components/editor/slash-command.ts
editor.css
Update task list checkbox and completed text styles
apps/web/src/components/editor/editor.css
1 files
test-toast.tsx
Add test component for toast notifications
apps/web/src/components/test-toast.tsx
3 files
calendar.ts
Enhance calendar event fetching with robust error handling
apps/web/src/actions/calendar.ts
getEventsByDate
to return an empty array onfailure instead of throwing.
extentions.ts
Fix task item extension configuration for editor
apps/web/src/components/editor/extentions.ts
onReadOnlyChecked
configuration for task items to be a function.environment.loader.js
Change default port and fix Redis env var assignment
apps/backend/src/loaders/environment.loader.js
REDIS_DB_NAME
.3 files
next.config.ts
Update Next.js config to relax build checks and strict mode
apps/web/next.config.ts
builds.
eslint.config.mjs
Disable problematic ESLint rule for build stability
apps/web/eslint.config.mjs
@next/next/no-duplicate-head
rule to fix build errors.index.js
Update server to listen on all interfaces
apps/backend/index.js
0.0.0.0
to accept connections from any IPaddress.
1 files
package.json
Add date-fns dependency for date utilities
apps/web/package.json
date-fns
as a new dependency for date handling.2 files
index.js
Update root route welcome message
apps/backend/src/routers/index.js
package.json
Update backend package metadata to march branding
apps/backend/package.json
to "march".
💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.