{"id":31079731,"url":"https://github.com/hex0cter/options-manager","last_synced_at":"2025-09-16T10:58:32.634Z","repository":{"id":313868300,"uuid":"1052729812","full_name":"hex0cter/options-manager","owner":"hex0cter","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-09T07:07:49.000Z","size":179,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-09T09:15:13.201Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hex0cter.github.io/options-manager/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hex0cter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-08T13:21:09.000Z","updated_at":"2025-09-09T07:07:52.000Z","dependencies_parsed_at":"2025-09-09T09:16:32.685Z","dependency_job_id":"49f9b189-c539-4e3c-896a-32646a9f6d9c","html_url":"https://github.com/hex0cter/options-manager","commit_stats":null,"previous_names":["hex0cter/options-manager"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/hex0cter/options-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex0cter%2Foptions-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex0cter%2Foptions-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex0cter%2Foptions-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex0cter%2Foptions-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hex0cter","download_url":"https://codeload.github.com/hex0cter/options-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex0cter%2Foptions-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275407642,"owners_count":25459379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-16T02:00:10.229Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-16T10:58:29.986Z","updated_at":"2025-09-16T10:58:32.626Z","avatar_url":"https://github.com/hex0cter.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Participant Options Manager\n\nA flexible React application for managing participants and their preferences across different options. Perfect for group decision-making, event planning, team coordination, and voting scenarios.\n\n## ✨ Features\n\n### 🎯 Core Functionality\n- **Dynamic Options Management**: Add, edit, and delete options with real-time updates\n- **Participant Management**: Manage participant lists with full CRUD operations\n- **Interactive Voting System**: Three-state voting (Yes/No/Unknown) with intuitive toggle buttons\n- **Real-time Results**: Live summary table with vote counts and sorting capabilities\n\n### 🎨 Customization\n- **Editable Titles**: Click to edit main title and subtitle\n- **Custom Section Labels**: Rename \"Options\" and \"Participants\" to fit your use case\n- **Persistent Settings**: All customizations saved automatically to localStorage\n\n### 📊 Advanced Table Features\n- **Smart Sorting**: Sort by option name or vote counts (Yes/No/Unknown)\n- **Visual Indicators**: Color-coded voting buttons with hover effects\n- **Responsive Design**: Works seamlessly on desktop and mobile devices\n- **Sticky Headers**: Option column stays visible when scrolling horizontally\n\n### 💾 Data Persistence\n- **Auto-save**: All data automatically saved to browser localStorage\n- **Session Recovery**: Resume exactly where you left off\n- **Export Ready**: Easy to extend with import/export functionality\n\n## 🚀 Use Cases\n\nTransform the app for different scenarios by customizing the section labels:\n\n- **Event Planning**: \"Venues\" and \"Attendees\"\n- **Team Decisions**: \"Proposals\" and \"Team Members\"\n- **Food Orders**: \"Menu Items\" and \"People\"\n- **Meeting Scheduling**: \"Time Slots\" and \"Participants\"\n- **Feature Voting**: \"Features\" and \"Stakeholders\"\n- **Restaurant Selection**: \"Restaurants\" and \"Diners\"\n\n## 🛠️ Getting Started\n\n### Prerequisites\n- Node.js (version 16 or higher)\n- npm or yarn\n\n### Installation\n\n1. **Clone the repository**\n   ```bash\n   git clone git@github.com:hex0cter/options-manager.git\n   cd options-manager\n   ```\n\n2. **Install dependencies**\n   ```bash\n   npm install\n   ```\n\n3. **Start the development server**\n   ```bash\n   npm run dev\n   ```\n\n4. **Open your browser**\n   Navigate to `http://localhost:3000` (or the port shown in your terminal)\n\n### Build for Production\n\n```bash\nnpm run build\n```\n\nThe built files will be in the `dist` directory, ready for deployment.\n\n## 📖 How to Use\n\n### 1. Customize Your App\n- **Click on the main title** to rename your app\n- **Click on the subtitle** to add a description\n- **Click on \"Options\"** to rename it (e.g., \"Food Choices\", \"Venues\")\n- **Click on \"Participants\"** to rename it (e.g., \"Team Members\", \"Attendees\")\n\n### 2. Add Your Data\n- **Add Options**: Use the input field to add items people will vote on\n- **Add Participants**: Add the people who will be voting\n- **Edit/Delete**: Click the edit or delete buttons next to any item\n\n### 3. Collect Votes\n- **Click the voting buttons** in the results table to cycle through:\n  - ❓ **Unknown** (gray) - No preference set\n  - ✅ **Yes** (green) - Positive vote\n  - ❌ **No** (red) - Negative vote\n\n### 4. Analyze Results\n- **View Summary**: See vote counts for each option\n- **Sort Results**: Click column headers to sort by name or vote counts\n- **Make Decisions**: Use the data to make informed group decisions\n\n## 🏗️ Technical Details\n\n### Built With\n- **React 18** - Modern React with hooks\n- **Vite** - Fast build tool and dev server\n- **CSS3** - Custom styling with modern features\n- **LocalStorage API** - Client-side data persistence\n\n### Project Structure\n```\nsrc/\n├── components/\n│   ├── OptionsManager.jsx      # Options CRUD interface\n│   ├── ParticipantsManager.jsx # Participants CRUD interface\n│   ├── ResultsTable.jsx        # Interactive voting table\n│   ├── StatusToggle.jsx        # Voting button component\n│   └── *.css                   # Component styles\n├── App.jsx                     # Main application component\n├── App.css                     # Global styles\n└── index.css                   # Base styles\n```\n\n### Key Features Implementation\n- **State Management**: React hooks for local state\n- **Data Persistence**: localStorage with JSON serialization\n- **Responsive Design**: CSS Grid and Flexbox\n- **Accessibility**: ARIA labels and keyboard navigation\n- **Performance**: Efficient re-renders with proper key props\n\n## 🎨 Customization\n\n### Styling\nThe app uses CSS custom properties and can be easily themed by modifying the color variables in the CSS files.\n\n### Extending Functionality\nThe modular component structure makes it easy to add features like:\n- Import/Export functionality\n- User authentication\n- Real-time collaboration\n- Advanced analytics\n- Custom voting scales\n\n## 🚀 Deployment\n\nThe app is configured for easy deployment to static hosting services:\n\n- **GitHub Pages**: Use the included workflow in `.github/workflows/deploy.yml`\n- **Netlify**: Connect your repository for automatic deployments\n- **Vercel**: Import project for instant deployment\n- **Any Static Host**: Upload the `dist` folder contents\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 📝 License\n\nThis project is open source and available under the [MIT License](LICENSE).\n\n## 🙏 Acknowledgments\n\n- Built with modern React patterns and best practices\n- Inspired by the need for simple, effective group decision-making tools\n- Designed for flexibility and ease of use across different scenarios\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhex0cter%2Foptions-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhex0cter%2Foptions-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhex0cter%2Foptions-manager/lists"}