Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Customer Portal v2 #1784

Merged
merged 64 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
bfda501
Portal usage
stephenlago99 Oct 2, 2024
f470034
Enable children in SectionTitle
stephenlago99 Oct 3, 2024
78cb4af
Add route without itemId
stephenlago99 Oct 3, 2024
e9751af
SectionContainer component
stephenlago99 Oct 3, 2024
ae35304
Wrap UsageSection in new container
stephenlago99 Oct 3, 2024
f52f1e2
Wallet components
stephenlago99 Oct 3, 2024
ef38f36
Translations
stephenlago99 Oct 3, 2024
7d7ef7a
Types
stephenlago99 Oct 3, 2024
43008ef
Add Edit customer information page
stephenlago99 Oct 4, 2024
529e9bf
Update sections
stephenlago99 Oct 8, 2024
c44c6a8
LAGO-374 hide empty customer info
stephenlago99 Oct 9, 2024
c44a59a
LAGO-375 customer info max view size
stephenlago99 Oct 9, 2024
670fc51
LAGO-376 redirect to main after edit
stephenlago99 Oct 9, 2024
627526f
LAGO-377 do not display plan section without plans
stephenlago99 Oct 9, 2024
5894ba7
LAGO-378 add day to subscription renewal date
stephenlago99 Oct 9, 2024
8ef8ce7
LAGO-379 add plan interval
stephenlago99 Oct 9, 2024
a865a72
LAGO-380 subscription name
stephenlago99 Oct 9, 2024
4ebfeb3
LAGO-383 add customer type
stephenlago99 Oct 9, 2024
b95391d
LAGO-384 remove no invoices sentence
stephenlago99 Oct 9, 2024
660114d
LAGO-385 add Load more button
stephenlago99 Oct 9, 2024
65d673c
LAGO-387 get back to main view after top up
stephenlago99 Oct 9, 2024
aa494fa
LAGO-388 sidebar top padding
stephenlago99 Oct 9, 2024
d239b11
LAGO-389 sidebar 400px width
stephenlago99 Oct 9, 2024
567ab8c
LAGO-390 fix columns gap
stephenlago99 Oct 9, 2024
6392e0e
LAGO-391 customer portal content max-width
stephenlago99 Oct 9, 2024
7845824
LAGO-392 focus state on buttons
stephenlago99 Oct 9, 2024
705c7d9
LAGO-393 add loader for customer infos
stephenlago99 Oct 9, 2024
c934ff5
LAGO-394 fix arrow spacing
stephenlago99 Oct 9, 2024
7f7416b
LAGO-395 fix section spacing
stephenlago99 Oct 9, 2024
0a63da4
LAGO-396 edit information button size
stephenlago99 Oct 9, 2024
892ba42
LAGO-398 small screen padding
stephenlago99 Oct 9, 2024
212a6bc
LAGO-399 button height
stephenlago99 Oct 9, 2024
560f99f
Fix design inconsistencies
stephenlago99 Oct 9, 2024
291d7fe
Update translations
stephenlago99 Oct 9, 2024
cceff76
Add type, firstname, lastname. Reset scroll. Wallet ongoing balance
stephenlago99 Oct 9, 2024
f7794f5
Fix lint. Fix translations
stephenlago99 Oct 9, 2024
4823789
Update Balance tooltip
stephenlago99 Oct 9, 2024
591e68f
Wallet loading/error states
stephenlago99 Oct 9, 2024
7815c0e
Loading states. Error states.
stephenlago99 Oct 9, 2024
072b5d6
Global loaders
stephenlago99 Oct 10, 2024
9d4e86d
Fix sidebar error state
stephenlago99 Oct 10, 2024
f055751
CustomerPortal container scroll
stephenlago99 Oct 10, 2024
970c96d
fix: remove redundant SectionContainer
stephenlago99 Oct 10, 2024
d547ffb
fix: improve addressesAreIdentical by iterating over keys
stephenlago99 Oct 10, 2024
a5053a0
fix: replace styled-components components with tailwind
stephenlago99 Oct 10, 2024
83476ef
fix: remove @ts-ignore
stephenlago99 Oct 10, 2024
dbffb0b
fix: remove redundant refresh functions / fix lint
stephenlago99 Oct 10, 2024
1fa3111
fix: plan interval transaltions map
stephenlago99 Oct 10, 2024
d15c576
fix: remove {' '}s
stephenlago99 Oct 10, 2024
f9e63a5
refactor: use separate routes instead of checking for page
stephenlago99 Oct 10, 2024
eedf94b
refactor: replace native elements with Typography
stephenlago99 Oct 10, 2024
dcab2a5
fix: usage page - plan details loading
stephenlago99 Oct 10, 2024
c79bb98
fix: import InputAdornment from the right mui path
stephenlago99 Oct 11, 2024
3dc45e5
refactor: use customer portal translate instead of the default one
stephenlago99 Oct 11, 2024
7954c34
feat: translate keys in all the langauges
stephenlago99 Oct 11, 2024
d97c58f
fix: add customer name input
stephenlago99 Oct 11, 2024
df2de1d
fix: billing / shipping address not matching
stephenlago99 Oct 11, 2024
ba3df99
fix: spacing / width issues
stephenlago99 Oct 11, 2024
37ac1cd
fix: update translations
stephenlago99 Oct 11, 2024
c21e220
feat: enable locale-based currency/date formatting
stephenlago99 Oct 11, 2024
77eea7a
feat: add missing translations
stephenlago99 Oct 11, 2024
3352f01
feat: add missing translations
stephenlago99 Oct 11, 2024
852ef96
feat: hide sidebar in iframes
stephenlago99 Oct 14, 2024
96ac72b
fix: translations
stephenlago99 Oct 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/components/SearchInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ import { Icon } from './designSystem'
import { TextInput } from './form'

interface SearchInputProps {
className?: string
onChange: ReturnType<UseDebouncedSearch>['debouncedSearch']
placeholder?: string
}

export const SearchInput = ({ onChange, placeholder }: SearchInputProps) => {
export const SearchInput = ({ className, onChange, placeholder }: SearchInputProps) => {
const [localValue, setLocalValue] = useState<string>('')

return (
<TextInputForSearch
className={className}
placeholder={placeholder}
value={localValue}
onChange={(value) => {
Expand Down
Loading
Loading