Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move CopyModelUtils and ModelAsserts to mastodon core. #15

Open
8 tasks
maarzt opened this issue Mar 22, 2024 · 0 comments
Open
8 tasks

Move CopyModelUtils and ModelAsserts to mastodon core. #15

maarzt opened this issue Mar 22, 2024 · 0 comments

Comments

@maarzt
Copy link
Collaborator

maarzt commented Mar 22, 2024

Mastodon git has two utility classes that are probably of interest for all mastodon projects so the should be moved to the mastodon core. These classes are:

CopyModelUtils
ModelAsserts

TODOs

  • Open a PR on Mastodon core
  • Make the CopyModelUtils more flexible
    • Allow to rename cells (for example prefix)
    • Allow to provide a transformation for cell position
    • Whether or not to copy tags
    • Allow to rename tagset names
    • ...
  • Change the format of the modelToString to reduce the duplications in the string.
    The format could be:
Spot(...) spot tags: <list of spot tags>
  -> link to Spot(...) link tags: <list of edge tags>
  <list all outgoing edges>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant