peakshift / makers.bolt.fun Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://makers.bolt.fun
License: GNU General Public License v3.0
Home Page: https://makers.bolt.fun
License: GNU General Public License v3.0
Do we want to add screenshots for the projects ourselves or wait for the creators to do this?
Do we want dark mode for this website?
Here are a few of the updated design changes to the Stories ๐ pages on BOLT๐ฉFUN's makers platform...
a). Introduction of a page title in the centre column "Stories ๐"
b). Underneath this title we introduce a new form of navigation using a combination of chips (Popular | Newest | Following/Saved) + a 'Sort By' time preference dropdown (Daily | Weekly | Monthly | Yearly) over to the right
d). In the right hand column can we add a banner advertising the STW2 hackathon? (as seen in the design). This could be any advertisement we wish, but pre-hackathon it make sense to push our own event!
Is there a design for this? I saw moritz mentioned it in the Slack channel.
It seems there is a bug with counting votes which should be resolved in master. Are the latest functions deployed? And if so are we sure those are called?
This will serve as a meta issue to gather requirements.
ATM this action has a side menu of "Story | Question | Bounty". I think that as users will take the action of creating one of the above directly through the page "e.g Story, Discussions (future), Bounties (future)" , it seems odd to bundle them up together. So, how much work would it be to remove these options and just insert a "X" icon or back menu? See the design attached.
Open Question: do we allow users to save draft stories? If so, we could use a right column of draft titles
If it's the users first post (or if they don't have any saved drafts, the markdown editor is centred), like so ๐
If the user has some saved drafts, we can move the markdown editor over to the left and create a "Saved Drafts" column to the right, like so ๐
Alternatively, we could also keep this column (even if its the users first post) and use it for "Suggested stories", such as "Your maker story", or "What i've been up to this week", like so. Then if the user has drafts, we can just stack this column...
Problem
Currently we only have 3 topics for Stories (bitcoin, lightning, gaming)
Solution
Let's create some more...
As seen in the recently designed page title elements (e.g Stories ๐, Hackathons ๐ฟ)... we are mixing and matching the use of emojis throughout the platform when it comes to category pills, page titles, etc. However, in the dropdown menu under Community section we are differentiating the pages visually using icons (similar to the emojis, but still a different style).
So, the question is do we keep the icon styles we have or switch everything to emojis? It might be worth deciding now before this version is released and new pages are built out.
Here's a side by side comparison for you to visualise...
NOTE: We can keep the use of emojis in buttons or CTAs (e.g comment, save, share icons etc for actions)
If we decide to use the emojis, we should use the following ones for pages:
For categories...
for example this query works fine:
mutation Mutation($projectId: Int!, $amountInSat: Int!) { vote(project_id: $projectId, amount_in_sat: $amountInSat) { id amount_in_sat } }
but this throws an error:
mutation Mutation($projectId: Int!, $amountInSat: Int!) { vote(project_id: $projectId, amount_in_sat: $amountInSat) { id amount_in_sat project { id title } } }
Do we have an asset we want to use for this?
Looks like when you click on a category it does not initiate a filter yet, did anyone have a plan on how they wanted this implemented?
Making a tip to a project consists of three steps:
1- Getting an invoice from the backend to the client
2- Confirming the invoice from client and sending it using a webln provider
3- sending the payment preimage to the backend after completion to confirm it.
But currently, it seems that paying invoices through alby provider is not returning a preimage variable, only "paymentHash" and "route"
FYI they would need to be stored as markdown in order for their render to be customised at any point.
Issue
ATM when a user clicks on the Hackathons page, the main view is empty. This is because the default view is set using the "Upcoming" or "Live" filter view, and we have no upcoming hackathons...
Solution 1
In the left column I suggest having the Header, Sort By chips in the side menu to remain stylistically consistent, "List your hackathon" button, plus and adding Fulgurโs promotional banner.
For the right hand grid (3 columns) and suggest showing "All" as the primary filter, showing all of the hackathons in time order from newest to oldest. We then use an empty state for filter options which do not have any hackathons listed (e.g Live or upcoming).
Solution 2
In the left column we could remove the chip navigation entirely, and just show the hackathons in time order from newest to oldest, thereby removing the need for an empty state.
I think I prefer Solution 1 as it could scale a bit better with time and can reuse stylistic navigation elements.
Scenario: Generate dynamic social share images for categories
Given a category has 4 applications
And some have won awards
When someone shares a link to the category page on social media
Then the image that's shown has some details about the category
And the background of the category
And shows there are 4 applications in this category
And shows x have won awards
You might want to set a DB connection limit: https://www.prisma.io/docs/concepts/components/prisma-client/working-with-prismaclient/connection-pool#setting-the-connection-pool-size
and/or upgrade the elephantsql.com instance to a paid plan with a higher connection limit.
Great job on the initial implementation @MTG2000, the application is really coming to life! I've viewed this page on two different devices and have been generally impressed by how responsive you've made it so nice work!
Here are a few thoughts and ideas for improvements after taking a look through:
c). This component on mobile uses a vertical grid layout for the screenshots. Could we arrange them into a 2 column grid or at least get them to fit the full width of the modal.
d). Project tags. The spacing for these tags seems a bit too large. Could we use the same spacing for buttons which is 16px rather than 24px.
3). Organism / App-list
Here's an example...
https://www.loom.com/share/e06bd8fa1a5c4e05b4ef2a75ca441098?sharedAppSource=team_library
This WIP property would allow projects to be filtered from a query
future
Problem
Some markdown editors (such as Medium) allow users to add a quote to their story with the use of a text editor toolbar shortcut/button. Take for example Medium or even Github. Currently, BOLT๐ฉFUN's editor does not contain this button.
Solution
Insert the > Quote button shortcut into our text editor toolbar. If a user highlights text and clicks it, it should show in preview form rather than raw markdown form.
Problem
ATM even if a user uploads a header image to a story, it doesn't show up on the actual story page. This was originally not accounted for in the design.
Solution
Can we include an image within the story page centre card? As seen below ๐
FIGMA link: https://www.figma.com/file/2rWlc79smZ9oyWSZHKhUUy/BOLT%F0%9F%94%A9FUN?node-id=884%3A53304
an api that will return a bunch of hottest projects according to some specific criterias
the api needs to be in this form:
query HOTTEST_PROJECTS {
hottestProjects {
title: String // Will mostly be "Hottest"
cover_image: String // A url for a cover image to display
apps_count: number // The number of hottest projects available
project: [Project!]!
}
}
Potential Solutions
Problem
Whilst creating a post, we ask users to insert tags. The UX of this process is a little confusing because of the pre-text inside the input field. My impression was that I could type "webln, alby, ..." and click enter to create separate tags.
Solution
Perhaps the pre-text should be something like "Enter your tag and click enter. You can add multiple tags to your post". Does this make sense?
use cases.
Issue
Currently, if I copy markdown from another editor (either in raw or previewed format), it currently does not translate to the BOLT๐ฉFUN markdown editor, converting it into a previewed format. I often have this issue when copying markdown text from one editor to another (e.g ClickUp -> Slack, Github, Discord, Medium, etc)
Solution
Would it be possible to have this functionality? That way, makers will be able to copy + paste their markdown editions of stories straight into our editor and hit "Publish" without having to translate the text themselves.
/blog/post/Story/6
/story/stw1-introduction-to-alby-b5f37
OR
/mtg/stw1-introduction-to-alby-b5f37
Note
use auth.bolt.fun as a generic authentication endpoint that would be less subject to change
@fiatjaf has created a commenting widget after a discussion about the topic with him some weeks ago. It is built in react and is a great starting point for us to implement on stories.
One of the limitations of this current widget is that it does not support threaded conversation, but I've learned that Nostr
https://github.com/fiatjaf/nostr-comments-widget-react/blob/master/src/widget.jsx
The initial goal was to create something along the lines of Disqus, which we can still do but since we need comments first to be able to increase engagement on posts on the platform we can bookshelf it until we learn more about Nostr and how to go about creating this widget. There are some open issues in the repo which can help in that future planning.
It seems currently a hard coded 1
is used as projectId
this means all votes are counted for project#1
Whilst uploading a new story to the makers platform, I noticed a few issues with the platforms markdown editor. Here are some thoughts and potential ideas of how we could improve them (this might be limited by the markdown integration we use).
a). Every time I want to add a title I have to highlight the word and scroll to the top, click T... it then takes me back down to where I was typing. This was annoying when I wanted to change an Italicised word to only Bold. I had to highlight it, scroll up, click off 'Italic', it then shot me back down the page, I had to highlight it again, scroll up to the top and click 'Bold' ... not so annoying when it's only once but when it's over and over it could get frustrating
How can we solve this?
It seems like the easiest way to solve this might be to fix the height of the ui component which contains the bulk of the story text, whilst fixing the markdown shortcuts to the top of it (e.g H B i ) .. I have attached a screenshot of the Github markdown editor for reference! If the user then has their mouse within the text box and scrolls, they can scroll the content of their writing easily without having to constantly go to the top of the website page and back over and over.
This second point is to do with editing functionality after a post has been created...
b). When I clicked 'Edit post' and then saved it, it actually created a duplicate of the post! This seems like a backend issue rather than UI
a new query for getting projects by search text is needed in the format:
query Query($search: String!) { searchProjects(search: $search): [Project!]! }
https://makers.bolt.fun/hackathons
Scenario: Clickable user inputed links
Given I am on a project page like "https://makers.bolt.fun/category/11"
When I read the description
And the description contains a url in the string
Then I am able to click the url because it is wrapped in an <a> tag
And the href attribute is "https://makers.bolt.fun/category/11"
And the target attribute is "_blank"
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.