ourtechcommunity / catchup Goto Github PK
View Code? Open in Web Editor NEWThe OTC CatchUp web app and workflows.
Home Page: https://catchup.ourtech.community
License: MIT License
The OTC CatchUp web app and workflows.
Home Page: https://catchup.ourtech.community
License: MIT License
Add PR checklist primarily to remind people to run Prettier before opening a PR.
Credits: @KartikSoneji
PS: Which label should one apply to such an issue? Do we need a new label? If yes, what would it be called?
Currently, we have actions as:
This costs a total of 4 actions which could be done in 2.
So the proposal is to merge all the reminder actions in 1 and catchup in 1.
If number
is not valid, redirect to a page that says
"Sorry, this is not a valid summary, here is the latest summary or you can read all the summaries here"
with the appropriate links.
The repo contains only three markdown files at the moment:
Changing them to asciidoc will make the repo more consistant and allow the files to be built and served on the catchup site if needed.
CONTRIBUTING.md
> NOTE: This repository has a Prettier code linting CI check. Please follow the Prettier instructions mentioned below.
Credits: @tusharnankani (in a PR comment)
This image is not currently used in the repo, it was temporarily used for the week of the 69th catchup.
This should be preserved by adding a note on the 69th catchup summary.
What is the change?
Why this change?
What is to be done?
./summary/sessions/<catchup_number>/attendees.adoc
(for CatchUp numbers 54 to 63), replace * link:example.com[example^]
with . link:example.com[example^]
, i.e., remove the asterisk (*
) and replace it with a period (.
).Update the structure and files of the Summary site with the Asciidoctor Jet template.
Currently the summary page looks like this:
To something that looks like this:
What are your views @OurTechCommunity/core
Currently, About CatchUp acts as the only link between summaries, the latest summary, and OTC CatchUp.
So what I suggest is, instead of having the hamburger on the top right, we can move it to the top left across every single page so that it does not collide with the dark/light switch on summaries (This can also allow the addition of the switch across all the pages.). (Also having it on the right side feels RIGHT for some reason.)
Originally posted by @PranavDani in #113 (comment)
The new Twitter and Telegram workflow merged in 0d54459 can have a better name and description.
Current name:
UI on GitHub:
This can be changed to 'Send Tweets and Telegram messages'.
Current description:
catchup/.github/workflows/send-messages.yaml
Lines 20 to 24 in 0d54459
This description renders like this:
The way GitHub renders the workflow description makes it confusing to read, so a more complete and free-flowing description would be better.
We add a video to indicate that we forgot to take a picture during a particular CatchUp session, for example in the 74th CatchUp summary.
We haven't added any size restrictions to that element, so maybe that's why it overflows on screens less than 700 px in width. The page becomes horizontally scrollable and can be zoomed out, when both of those should not be required.
This affects the common summary page and the individual summary pages with such a video included (Eg: 74th CatchUp summary).
One thing to remember while assigning a width would be the we need to maintain the aspect ratio of the video. (This might be achieved using the aspect-ratio
property, but this is just a suggestion.)
Normal page load (overflow should not exist):
Zoomed out (should not happen):
Create a custom 404 page.
When the summary link preview loads on any app such as WhatsApp etc, the link preview should contain the screenshot taken during the meet of people present
Make the /summary
page initially load only the last 3 summaries, and dynamically fetch more as the user scrolls.
To make it easier to convert a file with CatchUp attendee names to a format that adds their social media links, @tusharnankani added functionality to first create a Map of existing attendees and their social media handles, and secondly to use that map to generate the required link format.
Documentation for the Map generation and link format conversion is at https://github.com/OurTechCommunity/catchup/blob/main/util/README.md. Feel free to ask more questions!
Initial attendee name list format:
First_name Last_name
First_name Last_name
First_name Last_name
Final link format: (Eg: https://github.com/OurTechCommunity/catchup/blob/main/summary/sessions/139/attendees.adoc?plain=1)
link:<social_link>[First_name Last_name^]
link:<social_link>[First_name Last_name^]
link:<social_link>[First_name Last_name^]
Map format: (Generated in the summary
directory as map.json
once the command mentioned in the documentation is executed.)
[
{
"name": "First_name Last_name",
"handle": "<social_link>"
},
...
]
Map property of overriding existing key values if set again:
If an attendee has their social media link set in previous CatchUp sessions, but does not have a link in the last CatchUp session that they attended, then their link gets overridden to null
as per the logic below.
catchup/util/create-attendee-handle-map.js
Lines 44 to 54 in c27e133
We need to check that if an attendee's handle
key in the map is not null
(i.e., a link exists), then it should not be overwritten to null
. Changes have to be made in the https://github.com/OurTechCommunity/catchup/blob/main/util/create-attendee-handle-map.js file.
Feel free to suggest other solutions!
On a side note, just for clarification, we should allow overwriting in other cases, because if an attendee requests a new link to be used from current sessions, then we should allow the current behaviour of replacing the older
handle
(link) with the new link.
(Yes, we can check to see if the old link and the new one are the same and replace it only if it is new, but I don't think it is worth adding a check for that, because the map is in memory and we're not reading/writing to a file till the entire map is ready.)
npx prettier <config_here>
husky
to make Git Hooks easier.Markdown in joining msg not working.
Also, auto-pinning of automated messages to be figured out.
Once the OTC Talks web site is finalized, we can redirect the 'Give a Talk' button on the CatchUp web app home page to the OTC Talks site.
attendees.adoc
file for every session in summary/sessions
.util/README.md
document isn't very explicit in mentioning
Cc: @tusharnankani
Problems?
bogdaaamn/deta-deploy-action#5
Mitigation steps?
The Burger Menu (three horizontal lines on the top right of the web app) is repetitive and changes to it on one page need to be manually made on every page, so it makes sense to create a Web Component called burger-menu
for it.
Before implementing, please check the browser support.
Consider applying this to all OTC web sites and web apps.
Adding the issue here from web-site.
As mentioned in this comment:
.env
file, similar format to that of sample.env
Screenshot from https://github.com/OurTechCommunity/catchup/actions/runs/3303128628
Current scenario:
actions/checkout
needs to be updated in all workflow files.Eomm/why-don-t-you-tweet
needs to be updated in the twitter workflow files.Fixes:
actions/checkout
update is trivial since we just need to change actions/checkout@v2
to actions/checkout@v3
Eomm/why-don-t-you-tweet
update is more complicated since the action doesn't have an updated version with node 16+ as of now. There is an open issue in the action's repo Eomm/why-don-t-you-tweet#64Deadline:
From https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
We plan to migrate all actions to run on Node16 by Summer 2023
Currently, we are using an Ubuntu container to run actions. It will be better if we can use Node v16 container.
If possible, we can add code for a generalised pre-commit hook in CONTRIBUTING.md
to run Prettier before committing locally.
Credits: @KartikSoneji
I propose adding a devcontainer.json
file to the Our Tech Community repository. This file will enable developers to set up a consistent development environment quickly using GitHub Codespaces or other similar services.
A devcontainer.json
file:
devcontainer
directory in the root of the repository.devcontainer.json
file to the devcontainer
directory, specifying the necessary development environment setup..gitpod.yml
file that mentions the dependencies. But the devcontainer.json
format is more widely used and is supported by more platforms.๐ค Thank you, OTC.
As the number of summaries will grow, the header of the combined summary page will get longer and longer.
A better solution is to use :toc: left
, which has the added benefit of allowing skipping to a specific summary.
catchup/summary/combined-summary.adoc
Line 4 in 082cdef
Maybe look into making the sidebar collapsable.
Maybe reduce the summaries by one header level to allow subsections to be visible.
Each individual summary page includes the heading twice.
.adoc
file changes. The Asciidoctor build script runs just once when npm test run
is executed.summary
directory and run the build script every time a .adoc
file changes.Let's automate!
Problem
Currently, we manually link respective Twitter handles in /summary/sessions/<session_num>/attendees.adoc
.
attendees.adoc
csv
of attendees given by the extension. link:<twitter_url>[Full Name^]
Idea
The idea is to automate step 4^ by doing the following steps:
Do only once:
attendees.adoc
s in summary/sessions
To automate linking attendees.adoc
for every CatchUp:
attendees.adoc
and we will be good to go.The new Twitter and Telegram GitHub Action workflow that was merged in 0d54459 is causing errors: https://github.com/OurTechCommunity/catchup/actions/runs/5496419873
Can you please resolve them, @KartikSoneji? Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.