getlago / lago-front Goto Github PK
View Code? Open in Web Editor NEWOpen Source Metering and Usage Based Billing
Home Page: https://www.getlago.com/
License: GNU Affero General Public License v3.0
Open Source Metering and Usage Based Billing
Home Page: https://www.getlago.com/
License: GNU Affero General Public License v3.0
React router does not allow to have a fallback on a "goBack" action (if the user directly typed an url, goBack in app will redirect to the previously visited page, outside the app, instead of going back to the parent context)
It wasn't spec in the snippet part but is it possible to have 12px of spacing between the end of last character and the right border of the snippet (even if we can scroll in it)?
Looks like there's an issue with the copy, it supposed to be Type a code
instead of Code
in the text-field placeholder
The combo-box hint doesn't change when I choose Count
option, it should explain the count behaviour
Looks like the disabled button doesn't follow the style of the design system, it should follow the color of the design system.
When I'm hovering an option of the combo-box menu, the option doesn't grey out (hover state). It supposed to follow the design system. I didn;'t QA the combo-box so feel free to ping me
Is it possible to remove the option to clear the combo-box in the choice of language above the snippet?
It was not spec'ed, my bad I thought I made it but once the user click on copy button, a toast appears saying Copied to clipboard
-> Link here
For the mutation createPlan
with the following payload :
input: {
amountCents: 4.5
amountCurrency: "USD"
charges: []
code: "trrop-te"
description: ""
interval: "monthly"
name: "tetrt"
payInAdvance: false
trialPeriod: null
}
I get the following error : Variable $input of type CreatePlanInput! was provided invalid value for amountCents (Could not coerce value 4.5 to Int)
I think the graphql type for CreatePlanInput.amountCents
should be Float
and not Int
Product issue - https://github.com/getlago/lago-product/issues/2
Account information
above the customer full name and customer external id ⬆️ Stagging screen ⬆️ Figma screenBilling information
Describe the bug
After creating a plan with 0 as value (e.g. amount, trial period, tax rate). When I'm editing the object, the visual feedback shows the same text-filed unfilled
To Reproduce
https://user-images.githubusercontent.com/82527978/165954194-1074cd61-a60c-4ba0-94c6-240a8eec8387.mp4
Expected behavior
During creation, if values are set to 0, when editing, the value prompt should be 0 and not an empty text-field.
string
and not more number
Issue Morguy
Product issue - https://github.com/getlago/lago-product/issues/14
It looks like the colour font is not the good one, it should be grey700 instead of grey600
We should adapt the snippet a bit with some comments to make it crystal clear
Add
# Assign a plan to a customer
on top as a first line
+
In the end of the snippet after a line break
# To use the snippet, don’t forget to edit your __YOUR_API_KEY__ and __CUSTOMER_ID__
Describe the bug
Code snippets for event ingestion were lacking the transaction_id
field.
This field is used for idem potency on event ingestion and so is a mandatory.
To Reproduce
event
payload does not have a transaction_id
attribute.Expected behavior
According to the updated specs, snippets for all aggregation types should contain a transaction_id attribute.
When I'm on the customer detail page, I should see the full name of the customer + her external id in the left column
When I click on adding or editing button in the creation or edition dialog, the button should display a loading state the time to know if the external_id is already existing or no
https://user-images.githubusercontent.com/82527978/165328783-9db609c8-51dc-4722-b2b8-cb164a890751.mp4
When a customer is not linked to a subscription, in the actions
menu, looks the deleted
option is less wider than the other option above.
In the customer detail page, when I edit a customer from the columns section, and select again from the main action section, looks there's a problem with in the data inputed in the text-field, it should be the same + if I change it, it should enabled the button
https://user-images.githubusercontent.com/82527978/165332678-ae0d9d68-11a3-4525-965c-bf385c863bd6.mp4
When I edit a customer name (or even id), after editing, I re-open the edition mode, the dialog display wrong information and the button is enabled. The dialog should display the changed, correct information and button should be disabled until we change some info
https://user-images.githubusercontent.com/82527978/165333653-d9d7bd0c-284b-432e-8314-ab1fecdb4614.mp4
The subscriptions status looks not aligned with what we have in the detailed view, it should be the same
When downgrading plan, we should have a line bellow the list saying that the plan is downgrading Figma link
When downgrading plan, we should have the start date of the new plan instead of a -
Product issue - https://github.com/getlago/lago-product/issues/6
The button's wording in the edition of a taxe rate is the wrong one, it's written Edit webhook
, it should be Edit tax rate
, I checked and the wording was good in Ditto.
Just FYI, I changed a wording in Ditto, on the deletion dialog
Add infinite scroll on every list (+ fetch more)
Describe the bug
When I’m log in to the app with credentials, the app sing in and sing out (glitch) directly. When I clean my cache I can do log in correctly. It should log at the first time.
To Reproduce
Expected behavior
We should not be directly signed out when relogin
Monthly
--> Beginning of the month, End of the month, Subscription dateYearly
--> Beginning of the year, End of the year, Subscription dateEUR
currency and USD
standard pricing
(only option for now)recurring
by defaultDescribe the bug
When I'm opening a combo-box in the app, all the item in the combo-box menu are duplicated. When I refreshed the page, a new occurence appears. It should have only one occurence per item
When opening a dropdown on a clickable item (ex: Plan or Billable metric in a list), then opening one on another item, it doesn't close the previous dropdown.
Also check the dialog that are not closing on the clickAwayListener
When a plan is linked to a customer via a subscription, the plan should not be editable (only name + description). Right now user can add tiers and delete existing one. Button Add another tier
should be disabled and when hovering a line between first and last tier, no delete button should appear.
https://user-images.githubusercontent.com/82527978/168077578-16fa1e68-ec21-40e2-a677-8bfeeb13039c.mp4
Last unit error should appears when the amount is NOT =
OR bigger
than First unit. Right now it's working only for bigger but it should include =
also
There's a glitch when typing an amount, it removes some characters (. or 0) (seen with Morguy and Raffi irl)
Document in the wiki the navigation, especially the disableScrollTop
option
Describe the bug
Doubled scrollbars in currency dropdown/select
To Reproduce
Go to add a new plan. Click on the currency code. Observe that two scrollbars are shown and the full currency code is obscured.
Expected behavior
The dropdown should be shown without the double scrollbars and the full currency code should be visible.
Screenshots
Additional context
Describe the bug
When I edit an existing Billable metric, the button is by default enabled even if I change nothing. Buttons should be disabled and turn enabled when something changes
https://user-images.githubusercontent.com/82527978/169558845-07852787-1885-48e3-9e90-82d663b67a17.mp4
When I edit an existing Plan, the button stays disabled even if I change info in the Plan/Charge or when adding a charge. Button should switch to disabled to enable when something changes
https://user-images.githubusercontent.com/82527978/169559137-ba31e81b-73be-4f5a-a42f-ca447626de36.mp4
Hot reload does not work with the actual dev-env.
WebSocketClient.js:16 WebSocket connection to 'wss://app.lago.dev:8080/ws' failed:
Looks like webpack configuration is wrong and don't success to access the websocket server.
API Issue getlago/lago-api#241
Product issue https://github.com/getlago/lago-product/issues/21#issuecomment-1145779305
Describe the bug
It's currently not possible to have a float with more than 2 decimals when creating charge. However, some users (especially cloud users) might want to change floats > 2 decimals
To Reproduce
Expected behavior
Don't block the number of decimals
Describe the bug
When I'm using QA env [https://qa-app.staging.getlago.com/login], in the creation customer dialog, I can't not use the key k
and the key j
, when I'm typing them, nothing happens
https://user-images.githubusercontent.com/82527978/169557821-50eb4e3e-9ffc-4aa7-bd7b-aea73426fe59.mp4
[👮♂️ Do not close]. This issue provides visibility into Renovate updates and their statuses. Learn more
These updates are awaiting their schedule. Click on a checkbox to get an update now.
luxon
, @types/luxon
)react-window
, @types/react-window
)@graphql-codegen/typescript
, @graphql-codegen/typescript-operations
, @graphql-codegen/typescript-react-apollo
)@apollo/client
, apollo3-cache-persist
)@babel/core
, @babel/preset-env
, @babel/preset-react
)webpack
, @types/webpack
)@mui/material
, @mui/styled-engine
)@types/react
, @types/react-dom
, eslint-plugin-react-hooks
, react
, react-dom
)@sentry/react
, @sentry/tracing
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)apollo-upload-client
, @types/apollo-upload-client
)@testing-library/dom
, @testing-library/react
)These updates are currently rate-limited. Click on a checkbox below to force their creation now.
@emotion/react
, @emotion/styled
)@testing-library/jest-dom
, @testing-library/react
)sanitize-html
, @types/sanitize-html
)These updates await pending status checks. To force their creation now, click the checkbox below.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
ci/docker-compose.ci.yml
postgres 14.0-alpine
redis 6.2-alpine
docker-compose.ci.yml
Dockerfile
node 20-alpine
nginx 1.25-alpine
Dockerfile.dev
node 20-alpine
.github/workflows/codegen.yml
actions/checkout v4
actions/checkout v4
actions/setup-node v4
.github/workflows/lago-internal.yml
peter-evans/repository-dispatch v2
.github/workflows/linter.yml
actions/checkout v4
actions/setup-node v4
wearerequired/lint-action v2
.github/workflows/manual-release.yml
actions/checkout v4
docker/setup-qemu-action v3
docker/setup-buildx-action v3
docker/login-action v3
docker/build-push-action v3
.github/workflows/release.yml
actions/checkout v4
docker/setup-qemu-action v3
docker/setup-buildx-action v3
docker/login-action v3
docker/build-push-action v3
.github/workflows/tests.yml
actions/checkout v4
actions/setup-node v4
.github/workflows/translation-update.yml
actions/checkout v4
actions/setup-node v4
peter-evans/create-pull-request v6
package.json
@apollo/client 3.8.1
@date-io/luxon 2.17.0
@mui/material 5.14.18
@mui/styled-engine 5.14.18
@mui/styled-engine-sc 5.14.12
@mui/x-date-pickers 5.0.20
@sentry/react 7.108.0
@sentry/tracing 7.108.0
apollo-link-timeout 4.0.0
apollo-upload-client 17.0.0
apollo3-cache-persist 0.14.1
classnames 2.3.2
formik 2.4.5
graphql ^16.6.0
localforage 1.10.0
lodash 4.17.21
luxon 3.4.2
prismjs 1.29.0
react 18.2.0
react-dom 18.2.0
react-router-dom 6.15.0
react-window 1.8.9
recharts ^2.9.0
sanitize-html 2.12.1
styled-components 5.3.11
yarn 1.22.19
yup 1.2.0
@babel/core 7.23.0
@babel/plugin-syntax-dynamic-import 7.8.3
@babel/preset-env 7.22.20
@babel/preset-react 7.22.15
@dittowords/cli 4.4.1
@emotion/react 11.11.1
@emotion/styled 11.11.0
@graphql-codegen/cli 4.0.1
@graphql-codegen/typescript 4.0.1
@graphql-codegen/typescript-operations 4.0.1
@graphql-codegen/typescript-react-apollo 4.1.0
@parcel/watcher ^2.3.0
@svgr/webpack 8.1.0
@testing-library/dom ^9.3.1
@testing-library/jest-dom 6.4.2
@testing-library/react 14.1.2
@testing-library/user-event ^14.4.3
@trivago/prettier-plugin-sort-imports ^4.2.0
@types/apollo-upload-client 17.0.5
@types/jest 29.5.12
@types/jsonwebtoken ^9.0.2
@types/lodash 4.14.202
@types/luxon 3.3.1
@types/prismjs 1.26.3
@types/react 18.2.38
@types/react-dom 18.2.17
@types/react-router-dom 5.3.3
@types/react-window 1.8.5
@types/sanitize-html 2.9.5
@types/styled-components 5.1.34
@types/webpack 5.28.2
@typescript-eslint/eslint-plugin 7.4.0
@typescript-eslint/parser 7.4.0
auto-changelog 2.4.0
babel-loader 9.1.3
babel-plugin-prismjs 2.1.0
babel-plugin-styled-components 2.1.4
css-loader 6.8.1
cypress 13.6.0
dotenv 16.3.1
duplicate-package-checker-webpack-plugin 3.0.0
eslint 8.56.0
eslint-config-prettier 9.1.0
eslint-plugin-import 2.29.1
eslint-plugin-jsx-a11y 6.8.0
eslint-plugin-react 7.33.2
eslint-plugin-react-hooks 4.6.0
file-loader 6.2.0
fork-ts-checker-webpack-plugin 9.0.2
gettext-extractor 3.8.0
glob ^10.3.4
html-webpack-plugin 5.5.1
jest 29.7.0
jest-environment-jsdom 29.7.0
prettier 3.1.0
style-loader 3.3.3
ts-jest 29.1.1
ts-loader 9.4.4
typescript 5.3.2
webpack 5.88.2
webpack-bundle-analyzer 4.9.1
webpack-cli 5.1.4
webpack-dev-server 5.0.4
webpack-merge 5.9.0
node >=20
styled-components 5.3.11
@mui/styled-engine 5.14.18
lodash 4.17.21
glob-parent 6.0.2
trim 1.0.1
When I'm clicking on an existing billable metric, I should be redirected to the billable metric edition screen
https://user-images.githubusercontent.com/82527978/163581148-a3367d9e-2f6d-4ad4-bcd7-d1d20f5d9f3d.mp4
When a billable metric is linked to a subscription, the button delete should be disabled + having a tooltip when hovering explaining with the button is disabled
Product issue - https://github.com/getlago/lago-product/issues/5
When I'm on the webhooks section, the Developper item in the navigation is not selected anymore, it should be selected https://user-images.githubusercontent.com/82527978/166656027-fe1d502f-d4ce-4c71-85b5-77df118a6be5.mp4
Seen with Morguy on a call - URL should be developpers/xxx
and not settings/xxx
The button should hug the content and not have a fixed width.
Got the feeling it's not following the font size of the empty state, it should be subhead
and not headline
for empty state and error state (for Plans and Billable metrics sections)
The icon for the empty state of plans is not the good one, seen with Morgane, let's display a web-spider emoji image. you can find it here
The button should be a medium-one and not a large one (for empty state and error state accross the app) + the wording wasn't good in the design, it's now up to date.
the spacing between the title and the description should be 4px and not 32px (same feedback for create a billable metric flow
)
The top bar got a wrong wording Plans
, it should be Add a plan
When adding a billable metric to the plan, the parenthesis should be the same color of the billable_metric_code, in grey600
When adding a new billable metric in the plan, when the dialog is disapearing, can we put the screen at the position of the billable metric posiition ? Right now I've to scroll and loose the context of what I'm doing.
https://user-images.githubusercontent.com/82527978/161769524-ac40a9b9-5182-4269-ba4c-82b0be89a353.mp4
on
mode, not the charges one. See design hereThis issue provides visibility into Renovate updates and their statuses. Learn more
These updates are awaiting their schedule. Click on a checkbox to get an update now.
@types/jest
, jest
)@mui/material
, @mui/styled-engine
, @mui/styled-engine-sc
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)react
, react-dom
)These updates await pending status checks. To force their creation now, click the checkbox below.
@babel/core
, babel-loader
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@apollo/client
, apollo3-cache-persist
)These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
Describe the bug
When I click on a link with cmd
+click
it opens the link in the same tab
Expected behavior
It should open the link in a new tab
Product issue link: https://github.com/getlago/lago-product/issues/4
When I open the aggregation type combo-box menu, the item should be sort by alphabetical order -> Count / Count unique / Max / Sum
When I select Count unique / Max / Sum item and click on the property text-filed, don't fill it and click outside, I have an error state saying that the field should be filled video link here
How can we test the fact that by choosing an aggregation option, it triggers the right code snippet?
When I edit a billable metric linked to a subscription, the property to aggregate
text-filled should be disabled
Describe the bug
1Password does not suggest to autofill the login information. This might be because the inputs are not within a <form>
element.
To Reproduce
Go to https://app.getlago.com/login
See that it's not an option to use 1Password to fill the form
Expected behavior
The 1Password icon would be shown on the left side of the input, allowing it to be used for the site
Screenshots
Additional context
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.