Skip to content

Feature request: BTR tables #26

@keara-soloway

Description

@keara-soloway

Submitting this request on Arthur's behalf:

"""
Starting from the home page, I suggest a button that has the function, “my BTRs” which would return a list of all BTR’s (file IDs) associated with the user, by default arranged by date from most recent to oldest. (I notice that my home page already shows all of the BTRs, but not in tabulated form). That list would be similar to the one currently generated on the home page [...], but with only one entry per BTR - e.g. listing beamline and cycle, but also start date, number of DID records, number of scans. [...]

In the table view generated above, the user could then select / click on a particular row. Maybe there could be two ways to click — one that would go to all DID records associated with that BTR. But the other would display a list of all scan records associated with the BTR.
"""

@vkuznet I think I have a plan, but not sure if interacting with BeamPASS from FOXDEN in this way is sound (particularly for non-CHESS instances) -- let me know if I can proceed with this as is:

  • In golib/config:
    • add a CHESSBeamPASSAPIURL field to the Services struct (is there a better / clearer way to name this field?)
  • In BeamPass API service:
    • add support for getting BTR records by their file IDs to the existing "/btr" endpoint
  • In Frontend service:
    • add a "/btrs" endpoint whose handler returns a page with the interactive btr, dataset, and scan tables described above (if CHESSBeamPASSAPIURL field is present in srvConfig.Services -- otherwise return an error message page)
    • add a hyperlink to "/btrs" endpoint somewhere -- maybe in dyn_dstable.tmpl as Arthur suggested, close to the current list of user BTRs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions