Skip to content

Commit d85f4ad

Browse files
committed
fix(openalex): Disable affiliations curation /2
1 parent f57b6fe commit d85f4ad

File tree

4 files changed

+28
-8
lines changed

4 files changed

+28
-8
lines changed

client/src/pages/openalex-affiliations/components/send-feedback-button.jsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,17 @@ export default function SendFeedbackButton({ addNotice, className, corrections,
9999
return (
100100
<>
101101
<Button
102-
aria-label="Send feedback to OpenAlex"
102+
aria-label="[Deprecated] Send feedback to OpenAlex"
103103
className={className}
104104
color="blue-ecume"
105-
disabled={!corrections.length > 0}
105+
// disabled={!corrections.length > 0}
106+
disabled
106107
icon="send-plane-fill"
107108
onClick={switchModal}
108109
size="sm"
109-
title="Send feedback to OpenAlex"
110+
title="[Deprecated] Send feedback to OpenAlex"
110111
>
111-
Send feedback to OpenAlex
112+
[Deprecated] Send feedback to OpenAlex
112113
</Button>
113114
<Modal isOpen={isModalOpen} hide={switchModal}>
114115
<ModalTitle>Improve OpenAlex data</ModalTitle>

client/src/pages/openalex-affiliations/corrections.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Col, Container, Link, Row, Spinner } from '@dataesr/dsfr-plus';
22
import { useQuery } from '@tanstack/react-query';
3-
import { useEffect, useState } from 'react';
3+
import { useState } from 'react';
44
import Highcharts from 'highcharts';
55
import HighchartsReact from 'highcharts-react-official';
66

client/src/pages/openalex-affiliations/results/index.jsx

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
Tag,
1414
Text,
1515
TextInput,
16+
Title,
1617
} from '@dataesr/dsfr-plus';
1718
import { useQuery } from '@tanstack/react-query';
1819
import introJs from 'intro.js';
@@ -43,7 +44,7 @@ export default function Affiliations() {
4344
const [searchParams] = useSearchParams();
4445
const { toast } = useToast();
4546

46-
const [addList, setAddList] = useState([]); // TODO: still used ?
47+
const [addList] = useState([]); // TODO: still used ?
4748
const [affiliations, setAffiliations] = useState([]);
4849
const [cleanRor, setCleanRor] = useState('');
4950
const [filteredAffiliationName, setFilteredAffiliationName] = useState('');
@@ -470,6 +471,24 @@ export default function Affiliations() {
470471

471472
{!isFetching && isFetched && (
472473
<>
474+
<Row>
475+
<Col md="8" offsetMd="2">
476+
<div className="fr-callout fr-callout--pink-tuile">
477+
<Title as="h3" look="h6">
478+
New affiliation matching curation tool by OpenAlex
479+
</Title>
480+
<p className="fr-callout__text fr-text--sm">
481+
As mentionned in the OpenAlex roadmap, announced on the
482+
{' '}
483+
<a href="https://blog.openalex.org/openalex-2026-roadmap/#whats-coming-in-q1" rel="noreferrer" target="_blank">blog post of January 16, 2026</a>
484+
,
485+
an affiliation matching curation tool should be launched in February 2026. Therefore the curation feature of the Works-magnet is now deprecated.
486+
<br />
487+
All the curations already submitted should be integrated by the OpenAlex team.
488+
</p>
489+
</div>
490+
</Col>
491+
</Row>
473492
<Row>
474493
<Breadcrumb className="fr-pt-4w fr-mt-0 fr-mb-2w fr-ml-8w">
475494
<Link href="/">

client/src/pages/openalex-affiliations/search.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,9 +394,9 @@ export default function Search() {
394394
{' '}
395395
<a href="https://blog.openalex.org/openalex-2026-roadmap/#whats-coming-in-q1" rel="noreferrer" target="_blank">blog post of January 16, 2026</a>
396396
,
397-
an affiliation matching curation tool will be launched in February 2026. At this time, the curation feature of the Works-magnet will be unavailable.
397+
an affiliation matching curation tool should be launched in February 2026. Therefore the curation feature of the Works-magnet is now deprecated.
398398
<br />
399-
All the curations submitted before should be integrated by the OpenAlex team.
399+
All the curations already submitted should be integrated by the OpenAlex team.
400400
</p>
401401
</div>
402402
<Breadcrumb className="fr-pt-4w fr-mt-0 fr-mb-2w">

0 commit comments

Comments
 (0)