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

CSV Export Module #116

Open
andyschwab opened this issue Nov 18, 2024 · 0 comments
Open

CSV Export Module #116

andyschwab opened this issue Nov 18, 2024 · 0 comments
Assignees

Comments

@andyschwab
Copy link
Member

andyschwab commented Nov 18, 2024

Create a module that:

  • Accepts a filter
  • Returns a CSV file based on the returned personas
  • Integrate this module with Persona Table

Functions

.export(filterArrayObject)
-- accepts a filter array object, returns the CSV POST response

.mainPane()
-- provide a single textarea to enter a filter as string, returns the CSV response for that filter

Integration w/ Persona Table:

-- Add an export icon to the upper right of the Persona Table (part of the Filter Component)
-- Onclick triggers CSV Module Export call

Initial Test Cases:

All Personas:

[]

Select Personas:

[
	{
		"type":"agency",
		"key":"obey",
		"levels":[1, 5, 9, 10, 11],
		"confidence": { "min": ".75", "max": "1" },
		"filter": [
		  {
				"type": "field",
				"key": "id",
				"value": "[email protected]",
				"operator": "=",
				"not": false
		  }
		]
	}
]

@andyschwab andyschwab moved this to 🔖 Ready in Cartographer Nov 18, 2024
@andyschwab andyschwab moved this from 🧪 Dev to ✅ Main in Cartographer Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Main
Development

No branches or pull requests

2 participants