The social network for climbers 🧗

Overview
Comments
  • chore: change to vite

    chore: change to vite

    Describe your changes

    • CRA to vite
      • B/c CRA is very slow
      • Want to get this done before we open our repo for public contribution
    • @kwokieee I changed some env vars in the files, pls check if serviceWorker part is correct

    Issue ticket number and link

    Screenshots (if appropriate):

    Checklist before requesting a review

    • [x] I have performed a self-review of my code
    • [x] Change REACT env vars to VITE env vars before merging to dev
    opened by therizhao 11
  • feat: add edit profile page

    feat: add edit profile page

    Describe your changes

    Added a page for Edit Profile

    Issue ticket number and link

    #68

    Screenshots (if appropriate):

    image

    Checklist before requesting a review

    • [ x ] I have performed a self-review of my code
    opened by Artemis-Hunt 7
  • fix: disable editing of Telegram username once user is onboarded.

    fix: disable editing of Telegram username once user is onboarded.

    Describe your changes

    Disable editing of telegram username. Included a message on the Edit Profile page to contact Support if Telegram username needs to be changed. For all BE requests to update user info, populate Telegram username with existing Telegram username instead of whatever may be in the Telegram username input field

    Issue ticket number and link

    Screenshots (if appropriate):

    Before: image

    After: image

    Checklist before requesting a review

    • [x] I have performed a self-review of my code
    opened by Artemis-Hunt 4
  • User PATCH does not work correctly after refreshing access token

    User PATCH does not work correctly after refreshing access token

    Describe the bug A clear and concise description of what the bug is.

    Reproduce:

    • Set access token expiry to 5s
    • Go to user profile page
    • Edit something
    • Hit submit
    • Observe that the returned response does not update the user even though it says 200 OK

    To Reproduce Steps to reproduce the behavior:

    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Expected behavior A clear and concise description of what you expected to happen.

    Screenshots If applicable, add screenshots to help explain your problem.

    Desktop (please complete the following information):

    • OS: [e.g. iOS]
    • Browser [e.g. chrome, safari]
    • Version [e.g. 22]

    Smartphone (please complete the following information):

    • Device: [e.g. iPhone6]
    • OS: [e.g. iOS8.1]
    • Browser [e.g. stock browser, safari]
    • Version [e.g. 22]

    Additional context Add any other context about the problem here.

    bug.High 
    opened by CrownKira 3
  • Telegram post notification

    Telegram post notification

    Describe your changes

    • added logger class
    • added post notification to specified telegram group id TELEGRAM_MAIN_CHAT_GROUP_ID on post creation
    • updated post id to uuid in db

    Checklist before requesting a review

    • [x] I have performed a self-review of my code
    opened by chownces 3
  • feat: Edit Profile page

    feat: Edit Profile page

    Describe your changes

    Added the page for Edit Profile.

    Issue ticket number and link

    #68

    Screenshots (if appropriate):

    image

    Checklist before requesting a review

    • [ x ] I have performed a self-review of my code
    opened by Artemis-Hunt 3
  • Backend refactor

    Backend refactor

    Describe your changes

    1. Standalone cronjob 'microservice'
    2. Shifted app.* into its own folder
    3. Update CI scripts for deployment
    4. Updated BE README (will do a more indepth one next week)

    Issue ticket number and link

    Screenshots (if appropriate):

    Checklist before requesting a review

    • [x] I have performed a self-review of my code
    opened by chownces 3
  • Feat/beta

    Feat/beta

    Describe your changes

    Suggest: We could merge this first so there won't be too much things to merge and review?

    Frontend

    • Add Beta upload
    • Add skeleton for UI

    Backend

    • Add routes & tables for Beta

    Todo

    • List Beta
    • Delete Beta

    Issue ticket number and link

    #64

    Screenshots (if appropriate):

    Checklist before requesting a review

    • [x] I have performed a self-review of my code
    priority.High 
    opened by therizhao 3
  • feat: add backend image upload and retrieval functionality

    feat: add backend image upload and retrieval functionality

    Describe your changes

    1. Add endpoint to get signed url for profile image upload - '/v1/user/uploadImageUrl'. PUT the image data to the URL returned by this endpoint
    2. All user profile retrievals will now have profile image URL (note: these URLs are not guaranteed to return an image - i.e. endpoint throws error if image is not found on S3 bucket)

    Issue ticket number and link

    #95

    Screenshots (if appropriate):

    Checklist before requesting a review

    • [x] I have performed a self-review of my code
    opened by chownces 3
  • feat: service worker refresh

    feat: service worker refresh

    Describe your changes

    Issue a prompt to users to refresh the browser when an update in the service worker is detected.

    Issue ticket number and link

    #69

    Screenshots (if appropriate):

    image

    Checklist before requesting a review

    • [x] I have performed a self-review of my code
    opened by kwokieee 3
  • Fix telegram username form

    Fix telegram username form

    Describe your changes

    • Temp fix for iframe styling
      • No simple way to style Telegram iframe
      • Saw an option here https://stackoverflow.com/questions/56347902/telegram-authorization-without-default-button
        • But not sure how to integrate with our UI
    • Temp fix for onboarding
      • Auto populate ProfileEditForm by setting isEdit to true
      • Auto populate Username with Telegram username
      • This code can be deleted when @CrownKira is done with onboarding flow

    Issue ticket number and link

    #60

    Screenshots (if appropriate):

    image image

    Checklist before requesting a review

    • [x] I have performed a self-review of my code
    bug.High type.Frontend 
    opened by therizhao 3
  • fix: bottom shadow of last card in list can't be seen

    fix: bottom shadow of last card in list can't be seen

    Describe your changes

    Added bottom margin so the bottom shadow can be seen

    Issue ticket number and link

    Screenshots (if appropriate):

    Before: Screenshot 2022-12-27 at 5 21 01 PM

    After: Screenshot 2022-12-27 at 5 20 13 PM

    Checklist before requesting a review

    • [x] I have performed a self-review of my code
    opened by nathantew14 0
  • fix: non number inputs are skipped for height and reach fields during onboarding on Safari

    fix: non number inputs are skipped for height and reach fields during onboarding on Safari

    Describe your changes

    Issue is that the type = "number" prop of input fields does not correctly prevent non-numbers from being entered on Safari, but also prevents the input itself from being passed to the object of values used by react-hook-form, as well as mutes the onChange method, so the invalid height and reach entries are simply skipped (and cannot otherwise be checked)

    To fix this, I moved the handleClickDoneButton method to the onSubmit method/prop of FormProvider, then changed the "Skip"/"Next" button to invoke the onSubmit method, so that the default React's form validation which happens upon submitting a form can be used for each page of the onboarding process (without actually submitting the user info to backend).

    Issue ticket number and link

    #109

    Screenshots (if appropriate):

    Screenshot 2022-12-25 at 7 10 46 PM

    Checklist before requesting a review

    • [x] I have performed a self-review of my code

    Does not seem to affect any behaviour on Chrome, updateUser can still be submitted at the end of the onboarding form, and EditProfile seems to still work.

    opened by nathantew14 3
  • feat: changed validation mode in onBoarding and EditProfile to onChange

    feat: changed validation mode in onBoarding and EditProfile to onChange

    Describe your changes

    As per title

    Issue ticket number and link

    No issue

    Screenshots (if appropriate):

    https://user-images.githubusercontent.com/40333518/209465345-56928847-0ba8-4148-93da-f70aaed35871.mov

    https://user-images.githubusercontent.com/40333518/209465461-ffa6c90b-e905-4426-aaa2-0fa7b993bf19.mov

    Checklist before requesting a review

    • [x] I have performed a self-review of my code
    opened by nathantew14 0
  • fix: required method first for username input

    fix: required method first for username input

    Describe your changes

    Moved required() method to the front for the username field (in onBoarding and EditProfile) so it's actually invoked

    Issue ticket number and link

    No issue for this

    Screenshots (if appropriate):

    Screenshot 2022-12-25 at 6 52 29 PM Screenshot 2022-12-25 at 6 43 33 PM

    Checklist before requesting a review

    • [x] I have performed a self-review of my code
    opened by nathantew14 0
  • Hitting the enter key when entering name during onboarding reloads the page instead of going to the next page

    Hitting the enter key when entering name during onboarding reloads the page instead of going to the next page

    Describe the bug Hitting the enter key when entering name during onboarding reloads the page instead of going to the next page.

    To Reproduce Steps to reproduce the behavior:

    1. Go to the onboarding page
    2. Enter any text in the name field
    3. Press the enter key on keyboard (on desktop)
    4. Page reloads instead of going to the next page

    Screenshots Screenshot 2022-12-22 at 9 00 52 AM

    Desktop (please complete the following information):

    • OS: macOS Ventura Version 13.0
    • Browser: Safari
    • Version: 16.1
    opened by nathantew14 1
  • [Vite] Syntax/TypeError causes hmr update infinite loop

    [Vite] Syntax/TypeError causes hmr update infinite loop

    Describe the bug [Vite] Syntax/TypeError causes hmr update infinite loop

    To Reproduce Steps to reproduce the behavior:

    1. Go to frontend/src/pages/dashboard/jios/list/index.tsx
    2. Change enum value on line 19 eg. AllJios = 'All Jios :3',
    3. See error messages on chrome devtool console
    4. hmr update is stuck in endless loop

    Expected behavior hmr update should stop when there is any syntax error.

    Screenshots

    https://user-images.githubusercontent.com/24221801/205437218-b5a6ddbe-c2fb-4852-92c1-ecdad1190ccf.mov

    Desktop (please complete the following information):

    • OS: [e.g. iOS]
    • Browser [e.g. chrome, safari]
    • Version [e.g. 22]

    Smartphone (please complete the following information):

    • Device: [e.g. iPhone6]
    • OS: [e.g. iOS8.1]
    • Browser [e.g. stock browser, safari]
    • Version [e.g. 22]

    Additional context Add any other context about the problem here.

    opened by CrownKira 0
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Simple but Complete & Fast network monitor for your home network

netmon Netmon is an opensource project for protecting and monitoring your home network. Netmon is written to run on a Raspberry PI and is optimized to

Tommaso Ventafridda 9 Jul 6, 2022
Decentralized Social Network Money Frauds/Scams including BitClout, Twetch, Steemit, PeakD

Decentralized Social Network Money Frauds and DAOs: BitClout, Twetch, PeakD, Steemit ... Updates 4/29/2021 https://www.coindesk.com/wyoming-dao-llc-la

Scott Stirling 29 Nov 27, 2022
A social network to connect web3 users and their communities.

Introduction This project is built using react, tailwindcss and Moralis (documentation) for our backend. We are also heavily using the built-in Morali

null 8 Jan 5, 2023
Clubhouse is a new type of social network based on voice—where people around the world come together to talk, listen and learn from each other in real-time.

Awesome Clubhouse The clubhouse is a new type of social network based on voice—where people around the world come together to talk, listen and learn f

Ehsan Ghaffar 27 Nov 9, 2022
Flare - Social Network for Developers

Flare - Social Network for Developers The social networking developers have been longing for. View Demo · Report Bug · Request Feature Flare - Social

Adithya Sreyaj 101 Dec 28, 2022
decentralized social network using #nostr

Nauka Nauka is an attempt at creating a social network using the nostr protocol. For now it is just a nostr relay that runs on nodejs, but is going to

null 12 Aug 31, 2022
A social network that simulates a personal blog, where people post "What's on your mind?". Tweteroo is a Twitter clone.

Tweteroo About A social network that simulates a personal blog, where people post "What's on your mind?". Tweteroo is a Twitter clone. ?? Features ☑️

Luiza Santiago 5 Apr 13, 2022
A social network where you can share posts, view your profile metrics and follow other users.

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

Rui Neto 16 Aug 21, 2022
A social network app cloned from Instagram built with Next.Js, Socket.IO and a lots of other new stuff.

Instagram Noob ⚡ A social network app cloned from Instagram built with Next.Js, Socket.IO and a lots of other new stuff. Live Demo: https://instagram-

Hung Minh 20 Oct 19, 2022
tRPC test & precursor to a billion dollar social cat network

CatMash What is this? Have you ever wanted to rank 11,000 cat pictures by cuteness? Of course you have. That's what we're doing here. This is an app b

Christopher Ehrlich 6 Dec 18, 2022
A project social network with MERN + tailwindCss

Introduction This is a social-network project with MERN (MongoDb, Express, ReactJs, NodeJs) + tailwindCss Page (Not logged) Home. Login. Register. For

Frost 32 Jan 6, 2023
An Opensource Peer-to-peer Social Network with Zero-Knowledge-Proof based authentication.

HexHoot This is an attempt to create an Opensource Peer-to-peer Social Network with Zero-Knowledge-Proof based authentication. The objective is to dem

Zenin Easa Panthakkalakath 6 Dec 28, 2022
A social media platform aimed to capture the essence of all popular, existing social media platforms

Social Fuel Reimagining Social Media, step by step ?? About A social media platform aimed to capture the essence of all popular, existing social media

HariHaran 6 Feb 12, 2022
Hackathon for Social Good 2022 and use your superpowers to create a solution for the social good.

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

Laura Diaz 3 Jun 27, 2022
A simple way to share files and clipboard within a local network.

Shortcut Simple way to share files and clipboard with devices within a local network. Usage Run the ./shortcut executable. A browser window will be op

Dhamith Hewamullage 17 Mar 13, 2022
This Project is made with HTML5, CSS3, ReactJS, Axios, MetaMask, thirdweb, Rinkeby Test Network, Web 3.0 Technologies, and OpenSea API.

Abstract Collections This Project is made with HTML5, CSS3, ReactJS, Axios, MetaMask, thirdweb, Rinkeby Test Network, Web 3.0 Technologies, and OpenSe

Shobhit Gupta 34 Jan 4, 2023