Open Issues Need Help
View All on GitHubAI Summary: Develop a map interface for OpenCouncil (opencouncil.gr/map) displaying locations of subjects discussed in city councils. The map should feature selectable layers showing subjects discussed within a specified date range and category, filtering by city and discussion length. Another layer should display supported and unsupported municipalities, color-coded based on petition counts.
AI Summary: Implement direct-to-cloud file uploads using pre-signed URLs for the OpenCouncil platform. This involves creating a new API endpoint to generate pre-signed URLs, refactoring the existing file upload component to use these URLs for direct uploads to DigitalOcean Spaces, and adding a progress bar to provide real-time feedback to the user during uploads. The goal is to improve the user experience, scalability, and efficiency of the upload process.
AI Summary: The task involves improving the localization system of the OpenCouncil application by consolidating translation files, auditing and replacing hardcoded strings with translation keys, expanding English translations to match Greek, and ensuring consistency across both languages. Optional improvements include adding development tooling to prevent future hardcoded strings.
AI Summary: Implement a dynamic, in-context mock data generation system for a Next.js application using Prisma and @quramy/prisma-fabbrica. This involves creating factories for key entities (CouncilMeeting, Person, Party), a service layer to orchestrate factory calls, and development-only API endpoints and UI elements to trigger mock data creation. The system should be type-safe and only active in development mode.
AI Summary: Implement a reusable React component, `TopicFilter`, for filtering lists of person interventions and meeting subjects by topic. Integrate this component into the Person, Meeting, and Meeting Subjects pages, ensuring functionality and styling consistency with existing filters. This involves updating data fetching and potentially adding state management within the relevant page components.
AI Summary: Refactor the OpenCouncil Next.js application to use a single environment variable, `NEXT_PUBLIC_BASE_URL`, for all URL and domain configurations, removing redundant variables `NEXT_PUBLIC_URL` and `NEXT_PUBLIC_MAIN_DOMAIN`. This involves updating code, documentation, and testing to ensure functionality remains intact after the change.
AI Summary: Implement a user deletion feature in an admin panel for a Next.js application. This involves adding a delete button to the user management table, implementing a confirmation dialog, creating a secured API endpoint to handle user deletion using Prisma ORM, and updating the frontend to reflect changes and display success/error notifications.