OpenFn / OpenFn/lightning

Show metadata for data collection

Open
#3,027 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

We currently display the name and memory usage of a data collection on the project collections table, but the implementation team would like to be able to show the last modified date and number of items in the collection.

We think this is a minor update to the collections table as shown below

Image

TD Note to self:

  • how is the size stored/checked for the current implementation?
  • how would we check the number in the collection? would we store it somewhere when writing? or when accessing this page would we need to actually go do a collections.fetch and then count the items in there?
  • if there's not metadata stored already, storing last_updated and items.count might be hard

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the project collections table and inspect how the existing collection name and memory usage are obtained. Determine whether last-modified time and item count already exist or must be computed, then verify that both values are displayed for each collection without making the table unusable.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.