-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Is your feature request related to a problem?
I am currently modeling publications using an abstract class Publication with concrete subclasses such as Journal and Conference. However, the web editor does not support creating instances of abstract classes in a flexible way.
As a result:
- There is no single, unified entry point for adding a publication.
- The UI cannot dynamically adapt to the specific attributes required by different publication types.
This makes the publication creation process error-prone, redundant, and harder to extend when new publication types are introduced.
Describe the solution you'd like
Introduce a generic “Add Publication” page in the web editor that is linked to the abstract Publication class.
The proposed behavior is:
-
The page initially presents the user with a dropdown or selection list of available concrete subclasses (e.g., Journal, Conference, …).
-
Once a subclass is selected:
-
The form dynamically updates to display only the attributes relevant to that subclass.
-
Shared attributes defined in Publication (e.g., title, year, authors) are always shown.
-
Subclass-specific attributes (e.g., journal name, volume, issue, or conference location, proceedings) are conditionally displayed.
- On submission: The correct subclass instance is created and persisted.