Conversation
|
/preview |
|
Please find a preview at: https://staging.nodejs.dev/1713/ |
src/pages/calendar.tsx
Outdated
| process.env.GATSBY_REACT_APP_GCAL_API_KEY || | ||
| 'AIzaSyCBklATFMNjWUjJVZswlTmoyZh27FbaHDQ'; |
There was a problem hiding this comment.
What do we typically do for api keys? Mines locked down so i dont mind showing it here
|
Alright, im pretty confused. I have no idea why its failing here, but everything passes locally. I tried creating a new branch bc I thought that might be it, commenting out the cache step in the test workflow, and even nuking node modules locally and installing with |
|
After digging around, I think its failing because the commit I pushed before was cached so now itll keep failing even though I uninstalled |
|
Guess not, alright im officially out of ideas |
rodion-arr
left a comment
There was a problem hiding this comment.
I could reproduce same issue with build locally so it's not related to CI cache.
I assume this is due to @emotion/react is actually a peerDependency of react-google-calendar
Locally you are probably using Current node version with npm 7 which installs peer deps. But CI uses node v14 and does not do this by default.
It looks like we need to add @emotion/react as dependency anyway :(
Ok ill add it back in and push it up. I thought it was weird I kept seeing emotion in my peer deps. Howd you know the npm version wasnt 7 in gh actions? I assumed if it was the same version I had locally it would be fine |
There is an info step - https://github.com/nodejs/nodejs.dev/runs/3312719284?check_suite_focus=true#step:4:4 |
Codecov Report
@@ Coverage Diff @@
## main #1713 +/- ##
===========================================
- Coverage 90.77% 78.91% -11.87%
===========================================
Files 80 83 +3
Lines 867 1029 +162
Branches 239 284 +45
===========================================
+ Hits 787 812 +25
- Misses 79 216 +137
Partials 1 1
Continue to review full report at Codecov.
|
|
/preview |
|
Please find a preview at: https://staging.nodejs.dev/1713/ |
joesepi
left a comment
There was a problem hiding this comment.
These are visual nits but I think would be good to have:
- add a little padding to the day boxes so that the text isn't so close to the borders of each day.
- bump up the event title font one or two notches.
- bump up the "title" font (August 2021 in month view for example) to be a bit bigger and perhaps bold.
- Also: I just noticed that on Google Cal proper, the time is bold. That might also be a nice touch.
Otherwise, LGTM!!!!
|
I agree with the nitpicks you mentioned @joesepi and @manishprivet . I was thinking that work could be done in a separate PR though. I imagined this would be a "phase 1" of sorts, and we could iterate upon it. Especially considering how big this Pr is getting. |
Normally, I prefer smaller PRs but this is a big endeavor. I think that if you can address these remaining nits, it would be good to land them in this PR, in my opinion. Thanks! |
|
@joesepi @manishprivet I made most of the requested changes detailed below:
The only thing I wasnt able to add was making the time bold in the event label for the month view. The reason is because the |
|
Please find a preview at: https://staging.nodejs.dev/1713/ |
|
@lancemccluskey The contrast issue still doesn't seem to be fixed here I was talking about the selected entry in calendar |
|
Please find a preview at: https://staging.nodejs.dev/1713/ |
|
@manishprivet What about this? I messed around with the background, but it was hard to find a brand color that looked good on dark and light mode so I went with just changing the font color. I think its more pleasing to the eye and easier to read than before. |
|
That looks much better |
|
This looks a lot better @lancemccluskey Can we do something similar here? |
|
Please find a preview at: https://staging.nodejs.dev/1713/ |
|
I'm closing this PR as it is stale, and this PR is actively being worked on. |








Description
Adds calendar page to Nodejs.dev, similar to https://calendar.google.com/calendar/u/0/embed?src=nodejs.org_nr77ama8p7d7f9ajrpnu506c98@group.calendar.google.com
Related Issues
Addresses #883
Completed now, there will be follow-up worked defined in the task list for the above issue