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

fix: set English and Spanish localization for date and author of shared files #1664

Closed
wants to merge 82 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
f0768b1
fix: Renamed state fields and service function names to avoid confusi…
josebui Feb 28, 2024
a2cefa8
Squashed commit of the following:
paulschreiber Feb 28, 2024
caf1f7f
build: update @mapbox/[email protected] [email protected]
paulschreiber Feb 29, 2024
bf36eb1
fix: define TextDecoder so tests pass with mapbox-gl 3
paulschreiber Feb 29, 2024
4fc7d07
Merge branch 'main' into staging
paulschreiber Feb 29, 2024
bedb12d
Merge branch 'fix/mapbox' into staging
paulschreiber Feb 29, 2024
8f97c82
fix: Redirect user to complete profile after first login
josebui Mar 11, 2024
dcca0ed
build: Merge branch 'fix/complete-user-profile' into staging
josebui Mar 11, 2024
48924ee
fix: Changed createdWithService to isFirstLogin
josebui Mar 12, 2024
7a1fd09
chore: Added ES translation
josebui Mar 12, 2024
0a58bf7
fix: Redirect user after save profile
josebui Mar 12, 2024
e587d93
build: Merge branch 'fix/complete-user-profile' into staging
josebui Mar 12, 2024
bb6db2e
fix: Added text validation, and linter fix
josebui Mar 12, 2024
f01a0bd
fix: added form outlined property
josebui Mar 12, 2024
81a969d
fix: Linter fix
josebui Mar 12, 2024
4be0819
build: Merge branch 'fix/complete-user-profile' into staging
josebui Mar 12, 2024
99147af
fix: Reverted form changes, just set border
josebui Mar 12, 2024
808b985
fix: remove name helper text
paulschreiber Mar 12, 2024
bfd234d
fix: updated profile completion prompt
paulschreiber Mar 12, 2024
aa4dffe
fix: update test string to match new text
paulschreiber Mar 12, 2024
8b77c44
chore: Added ES translation
josebui Mar 12, 2024
310f5ab
build: Merge branch 'fix/complete-user-profile' into staging
josebui Mar 12, 2024
7110c18
fix: make nav blocker tool disable on save to avoid react event order…
tm-ruxandra Mar 8, 2024
68ff5ff
build: Merge branch 'fix/stepper-nav-blocker' into staging
tm-ruxandra Mar 14, 2024
c8dc5a1
feat: Added referrer to account profile
josebui Mar 15, 2024
b7b2bf7
fix: Improved pathname validation
josebui Mar 15, 2024
12efdcf
build: Merge branch 'fix/complete-user-profile' into staging
josebui Mar 15, 2024
9117a17
fix: Redirect user to complete profile after first login
josebui Mar 11, 2024
693fbde
fix: Changed createdWithService to isFirstLogin
josebui Mar 12, 2024
1e86b10
chore: Added ES translation
josebui Mar 12, 2024
9c90fae
fix: Redirect user after save profile
josebui Mar 12, 2024
e7d533b
fix: Added text validation, and linter fix
josebui Mar 12, 2024
88c474c
fix: added form outlined property
josebui Mar 12, 2024
cf93148
fix: Linter fix
josebui Mar 12, 2024
72013e1
fix: Reverted form changes, just set border
josebui Mar 12, 2024
b1a6cf5
fix: remove name helper text
paulschreiber Mar 12, 2024
67cc6c1
fix: updated profile completion prompt
paulschreiber Mar 12, 2024
94e84e2
fix: update test string to match new text
paulschreiber Mar 12, 2024
a649054
chore: Added ES translation
josebui Mar 12, 2024
5ebe168
feat: Added referrer to account profile
josebui Mar 15, 2024
c8c48bb
fix: Improved pathname validation
josebui Mar 15, 2024
80d43a6
build: Merge branch 'fix/complete-user-profile' into staging
josebui Mar 15, 2024
e7b466a
fix: Added referrer to all login buttons
josebui Mar 19, 2024
90f7c28
Update src/account/components/RequireAuth.test.js
josebui Mar 19, 2024
05b6740
Update src/account/components/RequireAuth.test.js
josebui Mar 19, 2024
cc39ebc
Update src/account/components/RequireAuth.test.js
josebui Mar 19, 2024
87f257c
Update src/account/components/RequireAuth.test.js
josebui Mar 19, 2024
6f2e736
Update src/account/components/AccountProfile.js
josebui Mar 19, 2024
8d62afc
fix: Change substring search to starts with
josebui Mar 19, 2024
9ba6e0a
build: Merge branch 'fix/complete-user-profile' into staging
josebui Mar 19, 2024
f2ed2d9
fix: Added complete profile to optional auth
josebui Mar 19, 2024
17c5a5e
build: Merge branch 'fix/complete-user-profile' into staging
josebui Mar 19, 2024
f3ec8e2
feat: Add the file type to shared files info as a column in a nested …
knipec Mar 19, 2024
45d13bd
feat: remove nested grid and just shrink the space used for the title…
knipec Mar 20, 2024
074ef07
docs: remove comments that were just notes to self
knipec Mar 20, 2024
562f03f
chore add @parcel/watcher dev dependency
paulschreiber Mar 21, 2024
5a0a751
fix: add item name to storymap delete tooltip
paulschreiber Mar 21, 2024
bad0282
fix: add tooltips to delete file/link buttons
paulschreiber Mar 21, 2024
c066061
fix: use title instead of atia label for shared file deletion
paulschreiber Mar 21, 2024
bdd8404
fix: update ES localization
paulschreiber Mar 21, 2024
523553d
fix: add aria-label to editable text icon
paulschreiber Mar 21, 2024
488e717
fix: add role and alt text to link icon (shared files)
paulschreiber Mar 21, 2024
ab8554c
fix: add role and alt text to map icon
paulschreiber Mar 21, 2024
e73a10a
fix: change aria lable to title on download button
paulschreiber Mar 21, 2024
25e2bd4
refactor: consolidate close button labels
paulschreiber Mar 21, 2024
94430d3
fix: consolidate close button labels; use title instead of aria-label
paulschreiber Mar 21, 2024
0f90077
fix: add string for Information with no label
paulschreiber Mar 21, 2024
9356ba4
fix: add map, link and edit strings
paulschreiber Mar 21, 2024
9622ace
fix: update title for storymap vertical menu
paulschreiber Mar 21, 2024
addbf78
fix: add shared story map label
paulschreiber Mar 21, 2024
8a8f1e1
fix: add external link label
paulschreiber Mar 21, 2024
aefbb86
fix: use title instead of aria label for search icon
paulschreiber Mar 21, 2024
61a0e1b
chore: add basemap icon
paulschreiber Mar 21, 2024
9b2e3dc
fix: add title/atia-label to basemap icon
paulschreiber Mar 21, 2024
0e4d8af
fix: update basemap label
paulschreiber Mar 21, 2024
c82f89d
fix: add labels for text alignment buttons
paulschreiber Mar 21, 2024
90f4340
Merge branch 'fix/icon-text' into staging
paulschreiber Mar 21, 2024
8cdf86a
fix: move uppercasing text to the view layer. This also fixes failing…
knipec Mar 21, 2024
0ef2447
test: add expectation of a file name and its extension type
knipec Mar 21, 2024
f0d1809
build: Merge branch 'feature/shared-file-type' into staging
knipec Mar 22, 2024
e16b5f0
build: Merge branch 'staging' of https://github.com/techmatters/terra…
knipec Mar 22, 2024
cdd6a3c
fix: set English and Spanish localization for date and author of shar…
knipec Mar 22, 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
295 changes: 295 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/client-preset": "^4.2.4",
"@ianvs/prettier-plugin-sort-imports": "^4.1.1",
"@parcel/watcher": "^2.4.1",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/jest": "^29.5.12",
Expand Down
1 change: 1 addition & 0 deletions src/assets/gis/set-basemap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion src/common/components/EditableText.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,12 @@ const EditableText = props => {
}}
>
{textValue || <Link href="#">+ {addMessage}</Link>}
{isHovering && <EditIcon sx={{ color: 'blue.dark' }} />}
{isHovering && (
<EditIcon
aria-label={t('common.editable_text_label')}
sx={{ color: 'blue.dark' }}
/>
)}
</Typography>
);
};
Expand Down
10 changes: 7 additions & 3 deletions src/common/components/HelperText.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const CloseIconButton = props => {
return (
<IconButton
size="small"
aria-label={t('form.helper_text_info_close')}
title={t('common.dialog_close_label')}
onClick={onClick}
sx={{
position: 'absolute',
Expand Down Expand Up @@ -137,7 +137,7 @@ const HelperText = props => {
<>
{showLabel ? (
<Button
aria-label={t('form.helper_text_info_label', { label })}
title={t('form.helper_text_info_label', { label })}
endIcon={<InfoIcon ref={anchorEl} fontSize="1rem" />}
onClick={handleClick}
{...buttonProps}
Expand All @@ -148,7 +148,11 @@ const HelperText = props => {
<IconButton
size="small"
ref={anchorEl}
aria-label={t('form.helper_text_info_label', { label })}
title={
label
? t('form.helper_text_info_label', { label: label })
: t('form.helper_text_info')
}
onClick={handleClick}
{...buttonProps}
>
Expand Down
2 changes: 1 addition & 1 deletion src/common/components/SocialShare.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ const SocialShare = props => {
ref={onCloseRefChange}
onClick={handleClose}
sx={{ marginLeft: 3 }}
aria-label={t('share.close')}
title={t('common.dialog_close_label')}
>
<CloseIcon fontSize="small" />
</IconButton>
Expand Down
Loading
Loading