docs: add .github

This commit is contained in:
Maël Gangloff 2024-08-02 21:32:24 +02:00
parent 5da3c9fbf8
commit dcfb1231dc
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629
5 changed files with 30 additions and 9 deletions

1
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1 @@
github: maelgangloff

17
.github/pull_request_template.md vendored Normal file
View File

@ -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

View File

@ -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}}
><DeleteFilled style={{color: token.colorError}}/></Popconfirm>}>
okButtonProps={{danger: true}}>
<DeleteFilled style={{color: token.colorError}}/>
</Popconfirm>}
>
<Card.Meta description={watchlist.token} style={{marginBottom: '1em'}}/>
<Table
columns={columns}
pagination={false}
dataSource={[{
domains: watchlist.domains.map(d =>
<Typography.Paragraph>{d.ldhName}</Typography.Paragraph>),
<><Typography.Text code>{d.ldhName}</Typography.Text><br/></>),
events: watchlist.triggers?.filter(t => t.action === 'email')
.map(t => <Tag color={actionToColor(t.event)}>{t.event}</Tag>)
}]}

View File

@ -41,8 +41,9 @@ export default function DomainSearchPage() {
domain.tld.type === 'gTLD' ? "green"
: "cyan"
}>
<Card title={<>{domain.ldhName}{domain.handle ? <> (<Text
code>{domain.handle}</Text>)</> : undefined}</>}
<Card title={<>
{domain.ldhName}{domain.handle && <Text code>{domain.handle}</Text>}
</>}
size="small">
{domain.status.length > 0 &&
<>

View File

@ -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."