Show header information of the gedcom file on the side panel (#252)

* Show header information of the gedcom file on the side panel #251

* Format creation date in HEAD section
This commit is contained in:
Frank Buchholz
2026-02-13 23:55:23 +01:00
committed by GitHub
parent 24a0f336ac
commit 7c5203b263
11 changed files with 127 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
import {SourceHead} from '../head/head';
import {GedcomData} from '../../util/gedcom_util';
import {ParsedQuery} from 'query-string';
import {FormattedMessage} from 'react-intl';
import {Checkbox, Form, Header, Item} from 'semantic-ui-react';
@@ -74,11 +76,13 @@ export function configToArgs(config: Config): ParsedQuery<any> {
}
export function ConfigPanel(props: {
gedcom: GedcomData;
config: Config;
onChange: (config: Config) => void;
}) {
return (
<Form className="details">
<>
{SourceHead(props.gedcom)}<Form className="details">
<Item.Group>
<Item>
<Item.Content>
@@ -230,5 +234,6 @@ export function ConfigPanel(props: {
</Item>
</Item.Group>
</Form>
</>
);
}