public
public copied to clipboard
[Website Feature]: Corporate page for new website
Is your feature request related to a problem? There is no overview of the companies/organisations who have employees contribution to Social Income, nor is there a directory of companies/organisations who contribute themselves.
Describe the solution/feature
Adding a page that lists all companies/organisations, who are the organisations-contributors
collection. There are different reasons for adding companies, namely
- have employees contributing (we know this in the future, as they can state it during the donating process) or
- donate themselves (e.g. sponsoring software like Google, Jetbrain etc.) or
- are just very known (e.g. #21) – if people/employees search for them, they will have the CTA to be the first to contribute.
The organisations-contributors
collection is already in the DB and Emulator with dummy data (2 entries).
@renestalder what do you recommend to use as a basic search field with live results in the dropdown in regards to this issue? What would be the basic unstyled version? Or does it make sense to directly work with a Tailwind component like Command Palette or a simple combobox (as the unstyled version in CSS would be too much work and unnecessary, if we change it soon to a Tailwind component?).
Additional context Screenshots:
-
Inactive View
-
Active Search Field View
Note: the scope of this issue is on purpose small, as serves also as "good first issue" for new open source developers.
Any recommendations from your side @renestalder how it could make sense to proceed in this specific case?
The usual way to develop new pages with new functionalities is: First, check if the components already exist in our collection of components (Storybook)
- if yes, use them
- if not, use basic HTML component and we switch them out later (can also be done by the same developer in a separate PR which ads the specific component to our collection)
In this case we have a bit a specific situation as there is no basic HTML component for a search field which allows for autocomplete and search results in dropdown (like this). How should we go forward? Do you have already a Tailwind component for that kind?
@ssandino
- Create the content first.
- If the content is finalized, create a concept (sketches, wireframes, specification) how to put that content on the website. You can already identify your needs for components that are missing at this point.
- Build
- check if the components already exist in our collection of components
- if yes, use them
- if not, use basic HTML component and create a ticket/issue with the component you need. (Then, either assign it to yourself if you're immediately going to build it or ask someone else to build it)
In this case we have a bit a specific situation as there is no basic HTML component for a search field which allows for autocomplete and search results in dropdown (like this).
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist
@soumdatta81 there is now the empty page with the right URL to add the elements: https://public-dusky-eight.vercel.app/social-responsibility
If you pull the latest main branch you find the page here: .../public/website/pages