Skip to content

Releases: bruceharrison1984/Schedulely

v0.3.5

11 Sep 19:01
c153a0d
Compare
Choose a tag to compare

This fixes an old bug that would prevent the onDayClick handler from firing if any events were present in that week. It now works as expected.

Commits

  • c46b919: add dark mode live example (Bruce Harrison)
  • 0adb16c: clean up dark mode example (Bruce Harrison)
  • 1996cca: refine dark mode docs (Bruce Harrison)
  • 075d9b6: fix clicks not propagating through to day components (Bruce Harrison) #109
  • df6973c: fix onDayClick not being propagated (Bruce Harrison) #109

v0.3.4

30 Jul 05:18
68a5cd6
Compare
Choose a tag to compare

This release finally removes the direct DOM manipulation that was used to show and hide events. This likely won't be felt by the client, but it was good to finally get a real solution in place. This also allowed for the moreEvent indicator to report the true visibility status of events, previously this was dubious at best.

Commits

v0.3.3

29 Jul 03:23
Compare
Choose a tag to compare

This release contains all the commits for converting the docs over to Nextra. This makes them much easier to maintain, and now we have Sandpack code demos instead of ReactLive, which is a much nicer expericence.

This also fixes a regression for a previous release that saw the more event indicator always being displayed even if no events were hidden.

  • The more events indicator should functional properly again
    • A small bug where it would never clear old events has been fixed
  • The input events array is now de-structured within the component. This should fix any errors people had with dynamic event arrays not updating the calendar.
    • This was an insidious bug because it's not immediately apparent you would need to destructure your event arrays, so we'll do it for you.

Commits

  • 4ee95bd: get docs project running (Bruce Harrison) #99
  • c55b16b: get all pages into docs (Bruce Harrison) #99
  • ebcb25e: remove image (Bruce Harrison) #99
  • c0a4549: rework some doc pages (Bruce Harrison) #99
  • 0b5054b: disable tests for now (Bruce Harrison) #99
  • 228cc7c: trying to get examples working again (Bruce Harrison) #99
  • 47ae38f: fix tests (Bruce Harrison) #99
  • a6030b4: constrain docs version (Bruce Harrison) #99
  • 2cc1c09: upgrade react dev version so mono-repo isn't broken (Bruce Harrison) #99
  • bfad9c5: fix lint (Bruce Harrison) #99
  • 5d6f77a: get components working in nextra (Bruce Harrison) #99
  • 7a03969: wip (Bruce Harrison) #99
  • 099936e: messing with code blocks (Bruce Harrison) #99
  • d395c5f: get codeblocks working (Bruce Harrison) #99
  • 6517686: fix component issue (Bruce Harrison) #99
  • e6371e7: configure documentation export (Bruce Harrison) #99
  • 1b63026: alter pages deployment (Bruce Harrison) #99
  • ad75116: fetch all history when deploying pages (Bruce Harrison) #99
  • 1263e83: fix filename casing (Bruce Harrison) #99
  • 52237bc: fix pages base url (Bruce Harrison) #99
  • 78b7a77: make react-live client side (Bruce Harrison) #99
  • 5c0bf7d: trying again (Bruce Harrison) #99
  • c0081d8: wip (Bruce Harrison) #99
  • 137c971: get docs title working (Bruce Harrison) #99
  • 44a8ec1: test ssr (Bruce Harrison) #99
  • 0828b2f: wip (Bruce Harrison) #99
  • 0d403c7: go back to how it was (Bruce Harrison) #99
  • 0155b15: wip (Bruce Harrison) #99
  • bc6f6ab: wip (Bruce Harrison) #99
  • 731ee95: skip first render (Bruce Harrison) #99
  • ee2b58a: wip (Bruce Harrison) #99
  • f0f3833: add GA to docs page (Bruce Harrison) #99
  • 3705ef5: remove react-live from the project (Bruce Harrison) #99
  • 5ac7953: little tweaks to docs (Bruce Harrison)
  • af52c3f: add some live code examples (Bruce Harrison)
  • 4fea69f: add another live example (Bruce Harrison)
  • d72351a: add header example (Bruce Harrison)
  • 0454a2f: update package-lock (Bruce Harrison)
  • 941c796: disable tests for now (Bruce Harrison) #104
  • 110be34: improve calendar test bench (Bruce Harrison) #104
  • fcd3e06: rename var (Bruce Harrison) #104
  • 58eee91: fix hidden event tooltip (Bruce Harrison) #104
  • 92ec666: calculate order based on event length (Bruce Harrison) #104
  • 0063462: remove ref (Bruce Harrison) #104
  • 3019f4a: fix tests (Bruce Harrison) #104
  • 7934824: make eventpriority exposed to the user (Bruce Harrison) #104
  • cfcc130: fix tests (Bruce Harrison) #104
  • 96fc7a8: make eventintersection a bit safer (Bruce Harrison) #104
  • 956acdc: bump version (Bruce Harrison)
  • 263324f: fix pages deployment for release (Bruce Harrison)

v0.3.2

22 Jul 18:49
Compare
Choose a tag to compare

This release was solely to add the LICENSE file to the final NPM package. This is so CI pipelines can easily locate the LICENSE file if their organization requires it for compliance.

Commits

  • 32b86b0: add LICENSE file to final package (Bruce Harrison)

v0.3.1

22 Jul 18:40
Compare
Choose a tag to compare

Bug Fixes

Tests

Commits

  • 1150ae5: add coverage report (Bruce Harrison) #93
  • a2bf1b3: update package-lock (Bruce Harrison) #93
  • 5a74627: fix CI action (Bruce Harrison) #93
  • 1dfd799: dont run CI on main branch (Bruce Harrison) #93
  • 3870c89: bump version (Bruce Harrison)

v0.3.0

08 Jul 05:05
Compare
Choose a tag to compare

This release fixed a bunch of small issues, and added the ability to change the start day of the week.

  • Tests switched from Jest to Vitest
  • Change start day of week
  • Rewrote calendar generation code
    • New code is significantly faster, and easier to maintain
    • This also locks the calendar at 6x7 instead of trying to trim it to as few rows as possible. The component will now take up a consistent height.
  • Fixed bug related to events jumping around when mousing over them
    • This bug was due to Date objects being mutated during event position checks
  • Rewrote event positioning code
    • Significantly faster and easier to maintain

Overall this was a big release that fixed lots of small issues, and added some additional functionality!

Commits

  • 31fc1e3: fix swapped dependencies (Bruce Harrison) #88
  • 5b395ca: try to fix jest ci bug (Bruce Harrison) #88
  • cd83216: allow local tests to run unbound (Bruce Harrison) #88
  • 15fc1e5: only use 50% of ci memory max (Bruce Harrison) #88
  • 86e8993: update jest (Bruce Harrison) #88
  • b7c3c1e: try to decrease worker count (Bruce Harrison) #88
  • bf310e0: update PR build script (Bruce Harrison) #88
  • 2147223: try to lock node version so we can clear unit tests (Bruce Harrison) #89
  • c7c5c87: use latest npm (Bruce Harrison) #89
  • 6d82aac: rework build order (Bruce Harrison) #89
  • 524e5cf: merge ci workflows (Bruce Harrison) #89
  • 985e950: Adds dayOfWeek for getting list of weekdays (Scott Lovegrove) #86
  • a9db292: Adds weekStartsOn to getCalendarView (Scott Lovegrove) #86
  • df639f0: Moves WeekDay type to its own file (Scott Lovegrove) #86
  • 559fef9: disable some tests (Bruce Harrison)
  • f1dd1df: fix one test (Bruce Harrison) #91
  • 96d248f: wip (Bruce Harrison) #91
  • c4cd359: update some deps (Bruce Harrison) #91
  • 79a8341: wip (Bruce Harrison) #91
  • 31e5f32: re-enable test (Bruce Harrison) #91
  • 2e0f326: get month test working again (Bruce Harrison) #91
  • 00b50dc: disable test suite (Bruce Harrison) #91
  • 0e86dc8: wip (Bruce Harrison) #91
  • ff1041d: switch from jest to vitest (Bruce Harrison) #91
  • 554c97c: getting more tests working (Bruce Harrison) #91
  • 6a64057: more playing with tests (Bruce Harrison) #91
  • b9be06c: wip (Bruce Harrison) #91
  • 1d42a9b: get calendar working again (Bruce Harrison) #91
  • 46236fb: wip (Bruce Harrison) #91
  • 4cd7acc: calendar generator function improved (Bruce Harrison) #91
  • e0c7503: reenable stuff (Bruce Harrison) #91
  • 0854b9c: re-enable all tests (Bruce Harrison) #91
  • eaba31a: convert test to todo (Bruce Harrison) #91
  • fce5920: pipe first day of week down into calendar (Bruce Harrison) #91
  • f64a556: fix test (Bruce Harrison) #91
  • c41f63a: trying to get events working with rolling week start (Bruce Harrison) #91
  • 648f036: wip (Bruce Harrison) #91
  • f3aebd2: remove console (Bruce Harrison) #91
  • f691f16: fix bug that was mutating the time value of events (Bruce Harrison) #91
  • 243ec8c: upgrade docs packages (Bruce Harrison) #91
  • daadc5b: event positioning seems fixed (Bruce Harrison) #91
  • 8d9cea4: update ladle stories (Bruce Harrison) #91
  • 939e300: fix test (Bruce Harrison) #91
  • b9edc43: update docs home page with start of week (Bruce Harrison)
  • 4dd68e5: add docs for start of week (Bruce Harrison)
  • 7c4a65f: update doc (Bruce Harrison)
  • 96359e8: add another test (Bruce Harrison)
  • 61a05a9: bump version (Bruce Harrison)
  • 62f7f5b: add tests to release (Bruce Harrison)

v0.2.3

14 Feb 21:40
e50b414
Compare
Choose a tag to compare
  • Allow for users to pass arbitrary, strongly-typed data with CalendarEvents
  • Update some dependencies
  • Update documentation to include custom data documentation
  • Reorganize some of the documentation pages
  • Add unit tests for useCalendar hook
  • Tweak CI/CD pipeline so development branches build
  • Update repo readme

Since the Custom event types are optional, this should be a non-breaking update.

Commits

  • 674a580: bump rollup-plugin-ts (Bruce Harrison) #82
  • bada81a: bump more deps (Bruce Harrison) #82
  • 60e86e2: remove SSR project, Docusaurus is SSR (Bruce Harrison) #82
  • 18abe88: use rollup progress plugin (Bruce Harrison) #82
  • 9250f24: enable custom event data to be passed in (Bruce Harrison) #81
  • d91533f: testing commit hook (Bruce Harrison) #81
  • dc343e2: remove test line (Bruce Harrison) #81
  • 7b700da: update docs for events and passing additional data (Bruce Harrison) #81
  • efa080d: add data typing for DayComponent types (Bruce Harrison) #81
  • 72e71a2: update Day docs (Bruce Harrison) #81
  • e8fc97d: update DayComponent page with additional data prop (Bruce Harrison) #81
  • 7041ec3: add generic parameter to Day documentation (Bruce Harrison) #81
  • 8c4fd22: add console log back to example Schedulely, and include some data props (Bruce Harrison) #81
  • 0888159: update readme (Bruce Harrison) #81
  • b0d2080: update readme (Bruce Harrison) #81
  • 14b5fd7: update some deps (Bruce Harrison) #81
  • 3684ea2: update some deps (Bruce Harrison) #81
  • f1c5346: update readme (Bruce Harrison) #81
  • ffd1310: update readme (Bruce Harrison) #81
  • e736713: change heading (Bruce Harrison) #81
  • 6f5f182: update docs (Bruce Harrison) #81
  • d434383: update docs (Bruce Harrison) #81
  • a0c6fe1: update docs (Bruce Harrison) #81
  • 7fe9a06: development CI should always run, except on main or PR (Bruce Harrison) #81
  • 73780a3: run unit tests during dev builds (Bruce Harrison) #81
  • 72ff1ef: rewrite sentences to be less confusing (Bruce Harrison) #81
  • bcf3836: fix actions examples (Bruce Harrison) #81
  • 512a7d3: setup test harness to useCalendar hook (Bruce Harrison) #81
  • bca5603: add more tests (Bruce Harrison) #81
  • 78d06d5: rewrite tests as unit tests instead of integration tests (Bruce Harrison) #81
  • 79e5f4d: add more tests (Bruce Harrison) #81
  • 07fc837: more tests (Bruce Harrison) #81
  • ca79fd4: add ladle example of custom events (Bruce Harrison) #81
  • b3d864d: bump package version (Bruce Harrison) #82

v0.2.2

12 Jan 21:18
7c509cc
Compare
Choose a tag to compare
  • Fixed flashing of soon-to-be-hidden events when switching months

Commits

  • 0af37df: invert display logic to avoid flashing overflow events (Bruce Harrison) #76
  • 19f0eb7: cleanup (Bruce Harrison) #76
  • c2176be: fix tests (Bruce Harrison) #76
  • 120e82d: add overrides to get rid of security warnings (Bruce Harrison) #76
  • 51a6a18: bring in eslint rules for aria (Bruce Harrison) #76
  • 5ff7772: bump version (Bruce Harrison) #77

v0.2.1

12 Jan 18:24
f3a4d72
Compare
Choose a tag to compare
  • Fixed inconsistent event display on months with 6 weeks
    • This also seems to have fixed all the inconsistent event displays
    • This has introduced a bit of 'flicker' when changing months and some events are hidden. This will need to be addressed.
  • Changed how some observers are initialized to avoid memory leaks

Commits

  • 814861c: fix potential memory leak on intersection observer (Bruce Harrison) #75
  • 3e91ad2: add eslint rules for hooks (Bruce Harrison) #75
  • cf4d9af: clean up lint rules, fix potential memory leak on breakpoint provider (Bruce Harrison) #75
  • 413c9b6: move var into function (Bruce Harrison) #75
  • c3173e4: wip (Bruce Harrison) #75
  • ad0b8f4: fix render bug (Bruce Harrison) #75
  • 32b3dd6: cleanup (Bruce Harrison) #75
  • 4ed5ea5: update docs (Bruce Harrison) #75
  • 8b3f9a5: add sort behavior so display is consistent (Bruce Harrison) #75
  • 19aa621: use string interpolation instead of concat (Bruce Harrison) #75
  • b36e4dd: wip (Bruce Harrison) #75
  • a8ef2f1: cleanup (Bruce Harrison) #75
  • 1cb9757: fix css updates (Bruce Harrison) #75
  • 0cefff7: bump version (Bruce Harrison) #75

v0.2.0

10 Jan 22:50
bb08bd2
Compare
Choose a tag to compare

Lots of little improvements to UI behavior in this one.

  • Month names are now truncated based on component width
    • This replaces the previous css container query approach that just changed the font-size
    • Issues with CSS minimizers and container queries pushed me back in this direction
  • The entire component is now hidden until it is rendered on the client-side
    • This fixes a whole class of bugs related to rendering before the Observers had a chance to take measurements
    • The amount of time it is hidden is insignificant, so it shouldn't be noticeable to the end user
    • Visibility is toggled for hiding, so layout shifts shouldn't occur
  • The DayComponent was altered to pass in the entire Date object instead of just the Day Number
    • This is a lot more forgiving to custom implementations since they have access to the entire Date object
    • This was also a breaking change, so thus the minor version has been bumped
  • Misc. code cleanup, removing dead code, and fixing some leaky abstractions

Commits

  • 2bfcd73: change day implementation to pass in full date object (Bruce Harrison) #74
  • 2b84bd6: backfill tests (Bruce Harrison) #74
  • 4fcbee6: update docs (Bruce Harrison) #74
  • 01d2723: update props (Bruce Harrison) #74
  • ee69154: add initial day of week format setting (Bruce Harrison) #74
  • 0871881: add code for initial day length (Bruce Harrison) #74
  • 3f08e09: remove old date func (Bruce Harrison) #74
  • 43ac724: change docs (Bruce Harrison) #74
  • 44c88a5: hide the calendar until it is rendered to avoid UI flashes (Bruce Harrison) #74
  • a2af3ac: change the way that month names are displayed (Bruce Harrison) #74
  • e448ec0: change docs, remove ComponentSize refs (Bruce Harrison) #74