diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..fbdef28 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: maelgangloff \ No newline at end of file diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..aef20cc --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,17 @@ +## Describe your changes + +## Type of change + +Please delete options that are not relevant. + +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) +- [ ] This change requires a documentation update + +## Checklist before requesting a review + +- [ ] Commit names follow the [Conventional Commits](https://www.conventionalcommits.org/fr/v1.0.0/) convention +- [ ] I have checked the entire code before submitting it +- [ ] I have updated the documentation related to my commits +- [ ] My code does not generate errors diff --git a/assets/components/tracking/WatchlistsList.tsx b/assets/components/tracking/WatchlistsList.tsx index 44e586c..e8f2b79 100644 --- a/assets/components/tracking/WatchlistsList.tsx +++ b/assets/components/tracking/WatchlistsList.tsx @@ -37,15 +37,17 @@ export function WatchlistsList({watchlists, onDelete}: { watchlists: Watchlist[] onConfirm={() => deleteWatchlist(watchlist.token).then(onDelete)} okText={t`Yes`} cancelText={t`No`} - okButtonProps={{danger: true}} - >}> + okButtonProps={{danger: true}}> + + } + > - {d.ldhName}), + <>{d.ldhName}
), events: watchlist.triggers?.filter(t => t.action === 'email') .map(t => {t.event}) }]} diff --git a/assets/pages/search/DomainSearchPage.tsx b/assets/pages/search/DomainSearchPage.tsx index 118b640..451af9d 100644 --- a/assets/pages/search/DomainSearchPage.tsx +++ b/assets/pages/search/DomainSearchPage.tsx @@ -41,8 +41,9 @@ export default function DomainSearchPage() { domain.tld.type === 'gTLD' ? "green" : "cyan" }> - {domain.ldhName}{domain.handle ? <> ({domain.handle}) : undefined}} + + {domain.ldhName}{domain.handle && {domain.handle}} + } size="small"> {domain.status.length > 0 && <> diff --git a/translations/translations.pot b/translations/translations.pot index 4032ef6..c998d57 100644 --- a/translations/translations.pot +++ b/translations/translations.pot @@ -308,19 +308,19 @@ msgstr "" msgid "Domain finder" msgstr "" -#: assets/pages/search/DomainSearchPage.tsx:49 +#: assets/pages/search/DomainSearchPage.tsx:50 msgid "EPP Status Codes" msgstr "" -#: assets/pages/search/DomainSearchPage.tsx:59 +#: assets/pages/search/DomainSearchPage.tsx:60 msgid "Timeline" msgstr "" -#: assets/pages/search/DomainSearchPage.tsx:64 +#: assets/pages/search/DomainSearchPage.tsx:65 msgid "Entities" msgstr "" -#: assets/pages/search/DomainSearchPage.tsx:72 +#: assets/pages/search/DomainSearchPage.tsx:73 msgid "" "Although the domain exists in my database, it has been deleted from the " "WHOIS by its registrar."