armitage-labs / armitage-monorepo Goto Github PK
View Code? Open in Web Editor NEWA sourceCred client to measure engineering impact in Github Repositories
Home Page: https://armitage.xyz
License: MIT License
A sourceCred client to measure engineering impact in Github Repositories
Home Page: https://armitage.xyz
License: MIT License
Create and configure new WalletConnect keys that provide access to the Base chain.
Note that with the support of Base, we also need to refactor and modify the code that creates new Private attestations, as they currently only support Ethereum Sepolia;
This likely includes:
Currently the application is not able to verify if the user has already installed the GithubApp on his profile or organization.
Therefore, the banner on the overview dashboard does not disappear after the user has changed its settings.
This issue should create logic that verifies such installation, and removes the component from the overview dashboard if the user has successfully installed the app to allow private repositories.
I'm submitting a ...
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Comments are not ranked properly
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
See any contributor details
What is the expected behavior?
Ranks to be assigned correctly based on the nominal value of comments
What is the motivation / use case for changing the behavior?
Comments are ranked wrongly
If you have recently ran the app locally, and is trying to contribute to the project, we would love to hear from you.
Please use this issue to discuss documentation updates, or to talk about any hurdles you had while setting the project locally.
I'm submitting a ...
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
After creating a public or private attestation, the modal that opens on the attestation button keeps the previous state
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Create new attestation
Close modal
Open attestation modal again through button
What is the expected behavior?
Modal should allow user to create a new attestation
What is the motivation / use case for changing the behavior?
Allow users to create new attestations without refreshing the page
We need to filter to ensure that we don't let users register repos with size <= 0
Some users are complaining about the white theme on the dashboard. We need to help their eyes to be safe ๐
We already have all dependencies installed, and the toggle to do the theme switch on the header.
See src/components/theme/theme-toggle.tsx
It simply needs to be properly configured with NextJs and shadcn/ui.
We need a function that we can call from the frontend to create a public attestation for a user.
This function needs to be able to use the correct schemaID depending on the chain the user is connected to, receive the data of a contributor score and mint the attestation using the user provider
On the settings page, we need functionality for the user to register a specific wallet as his main account wallet.
He doesn't necessarily needs to connect with this specific wallet to create attestations or to interact with the app, but it will be needed for DAO/Token creation.
As part of this functionality, the user will be prompted to sign-in-with-ethereum (SIWE) and sign a message to prove he controls the private key of this wallet.
This functionality should also show which wallet is registered to that user account, in case one has already been added
Through early feedback with users, we discovered that the concept of Teams
are more fluid than we initially thought.
Therefore we need to enable a user to be able to remove and add github repositories to a team object.
This should be done on the Github Repositories component of a team details page:
Adding and removing a github repository should automatically update the Team
object on the database, and upon save
, it should create a new calculation request.
We need to enable functionality from the frontend, specifically on a team view, that allows a user to create a new public attestation of contributor scores.
Initial idea is to create different options when the user clicks the "private attestation" button. Therefore refactoring it to only "attestations"
Upon the modal appearance, the user should need to select between two buttons on the modal, to select either a private attestation or public attestation flow, that will then prompt the transaction on the user wallet and enable him to create the attestation
We should create a new schema for onchain attestations of contributor scores.
This is necessary for integrations with new chains and other applications;
The schemaIDs of these new schemas should be saved on the application configuration and mapped to which specific chains they point to;
Feel free to create this configuration as a .env variable, a json or yaml file.
e.g.:
attestationPublicSchemaIds: base: 0x2137839 sepolia: 0x12384 optimism: 0x1234 etc...
These schemas should follow the following structure:
githubUsername;
measuredAt;
weightsConfig;
repositoryName;
organizationName;
userScores
I'm submitting a ...
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Open attestation in EAS opens on the same tab
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Click on attestation button on a repository calculated
Generate public attestation
click on View in EAS
What is the expected behavior?
Open on a new tab
What is the motivation / use case for changing the behavior?
UX
I'm submitting a ...
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Attestation breadcrumb routes to /dashboard/attestations instead of /dashboard/attestation
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Click on your profile picture
Go to attestations
Click on an attestation
Click on the breadcrumb for navigation
What is the expected behavior?
go to /attestation
What is the motivation / use case for changing the behavior?
Bug
Whenever a user is on the team details page, a button should be displayed to create an attestation (prob using https://attest.sh/) about all contributors and their contributions scores. This attestation for now should not be displayed on the page and the UX is out of scope for this issue.
We should probably create a new DB model to save those attestations, happy to discuss other ideas and scenarios to tackle that.
Feel free to discuss on this ticket how the UX could look like and propose ideas
I'm submitting a ...
What is the current behavior?
When a TX fails, the loading does not stop
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Create an attestation, then try to create another attestation with the same calculation scores, it should fail due to it being exactly the same.
What is the expected behavior?
Loading modal shows that the transaction failed and does not keep loading forever
What is the motivation / use case for changing the behavior?
UX
On the /teams/contributors/[contributorId] we need to display the contributorScore intervals as a timeseries chart as part of the data that we display of a user that is part of a team.
This data already exists on the database, and lives under UserScore.score_interval as an array of numbers.
We simply need to parse this data, and construct the graph.
We should have a component on the teams/new/page.tsx that display on the 2nd step of the team creation, together with the table that fetches the github repositories, a box/card/dialog that allows the user to input an arbitrary open source repo to include in his team.
This repository should be added into the team in the same way as any selected one.
Note: Private repositories are not allowed on this scope, and they should be only selected by the table
Note: Creating a component to display the repositories already selected is not part of the scope of this ticket, but a nice-to-have
The following mockup is a simple suggestion and idea on how that could look like during the creation of a team
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.