Destroying Colorado Documentation

Complete guide for users and administrators

Getting Started

Welcome!

This documentation will help you understand and use Destroying Colorado, a curated artifact management platform for tracking Colorado politics, legislation, and policy issues.

What is Destroying Colorado?

Destroying Colorado is a comprehensive platform designed to:

  • Curate Artifacts - Collect and organize important Colorado-focused content
  • Track Legislation - Monitor state bills, resolutions, and policy changes
  • Provide Context - Add summaries and custom metadata to each artifact
  • Enable Discovery - Search and filter by artifact types, tags, and keywords
  • Measure Engagement - Track which content resonates with your audience

User Roles

The platform has three user roles with different permissions:

1

Contributor

Submit new artifacts for review, view analytics, and manage your own submissions. Perfect for team members who want to suggest content.

2

Editor

Approve/reject artifacts, edit content, manage tags and artifact types, and use AI features. Ideal for content managers and moderators.

3

Admin

Full system access including user management, scheduler configuration, and the ability to delete content permanently.

Quick Navigation

Here are the main areas of the platform:

  • Public Site - Browse approved artifacts, search, and filter content
  • Admin Panel - Manage artifacts, approve submissions, and configure settings
  • RSS Feed - Subscribe to receive updates automatically

Pro Tip

Use the search bar with filters to quickly find specific types of content. Combine artifact type and tag filters for precise results!

User Guide

Logging In

1

Navigate to Admin Panel

Visit https://destroyingcolorado.com/admin.html

2

Enter Credentials

Use the username and password provided by your administrator

3

Access Dashboard

You'll see the admin dashboard with tabs based on your role

Creating a New Artifact

Follow these steps to submit a new artifact:

1

Click "Add New Artifact"

Located in the Artifacts tab of the admin panel

2

Fill in Basic Information

Enter the title and URL of the content you're sharing

3

Select Artifact Type

Choose the appropriate category (e.g., CO State Bill, Local News, etc.)

4

Fill Custom Metadata

The form will show custom fields based on your artifact type. Fill these in with relevant details.

5

Add Summary (Optional)

Write a brief summary or click "Generate with AI" to create one automatically

6

Add Tags

Select relevant tags to help categorize your content

7

Submit

Your artifact will be submitted for review (or published immediately if you're an editor/admin)

Note for Contributors

Artifacts you submit will have a "pending" status until an editor or admin approves them. You'll be able to see your pending submissions in the Artifacts tab.

Using AI Summary Generation

The platform can automatically generate summaries using AI:

  1. Enter the title and URL of your artifact
  2. Click the "Generate with AI" button below the summary field
  3. Wait a few seconds for the AI to analyze the content
  4. Review and edit the generated summary if needed
  5. Save your artifact

Best Practice

AI summaries are a great starting point, but always review them for accuracy and context specific to Colorado politics.

Editing Artifacts

To edit an existing artifact:

  1. Go to the Artifacts tab
  2. Find the artifact you want to edit (use the search if needed)
  3. Click the blue edit button
  4. Make your changes
  5. Click "Save Artifact"

Searching and Filtering

Both the public site and admin panel offer powerful search capabilities:

Search Bar

  • Type keywords to search through titles, summaries, and URLs
  • Search updates in real-time as you type

Filters

  • Artifact Type Filter - Show only specific types (bills, news, reports, etc.)
  • Tag Filter - Filter by topic tags (Politics, Environment, etc.)
  • Combined Filters - Use multiple filters together for precise results

Viewing Analytics

All users can view click analytics:

  1. Navigate to the Analytics tab
  2. See total clicks for each artifact
  3. Sort by most clicked to see what's most popular
  4. Use this data to inform future content decisions

Administration Guide

Approving Artifacts

As an editor or admin, you can approve pending submissions:

  1. Go to the Artifacts tab
  2. Look for artifacts with pending status
  3. Review the artifact content, metadata, and summary
  4. Click the green check button to approve
  5. Or click the yellow X button to reject

Approval Best Practices

Before approving an artifact, verify:

  • The URL is valid and leads to the correct content
  • The title accurately represents the content
  • Custom metadata is complete and accurate
  • Tags are appropriate and not excessive
  • The summary provides useful context

Managing Artifact Types

Artifact types define what custom metadata fields appear when creating artifacts of that type.

Creating a New Artifact Type

1

Navigate to Artifact Types Tab

Click on the "Artifact Types" tab in the admin panel

2

Click "Add Artifact Type"

Opens the artifact type creation modal

3

Set Basic Info

Name: Display name (e.g., "CO State Bill")
Icon: Font Awesome class (e.g., "fa-solid fa-landmark")
Color: Pick a color for the badge

4

Add Metadata Fields

Click "Add Field" to create custom fields for this type

5

Configure Each Field

Key: Internal name (e.g., "billNumber")
Label: Display name (e.g., "Bill Number")
Type: text, textarea, number, date, or select
Required: Toggle if mandatory

6

Save

Your new artifact type is now available!

Field Types Explained

Type Use Case Example
text Short single-line text Bill number, Author name
textarea Multi-line text Description, Notes
number Numeric values Year, Price, Quantity
date Date picker Publication date, Hearing date
select Dropdown with predefined options Status, Chamber, Category

Managing Tags

Tags help categorize artifacts and make them easier to find.

Creating Tags

  1. Go to the Tags tab
  2. Click "Add Tag"
  3. Enter a tag name (e.g., "Water Rights", "Education")
  4. Choose a color for the tag badge
  5. Save

Tag Best Practices

  • Keep tag names short and clear
  • Use consistent naming (Title Case recommended)
  • Don't create too many similar tags
  • Review and merge redundant tags periodically
  • Choose distinct colors for easy visual identification

Managing Users (Admin Only)

Admins can create and manage user accounts.

Creating a New User

  1. Navigate to the Users tab
  2. Click "Add User"
  3. Enter a username
  4. Set a password (user should change this on first login)
  5. Select one or more roles:
    • Contributor - Can submit artifacts
    • Editor - Can approve and manage content
    • Admin - Full system access
  6. Save

Editing User Roles

  1. Find the user in the Users tab
  2. Click the edit button
  3. Check/uncheck roles as needed
  4. Save changes

Important

You cannot edit your own admin role or deactivate your own account. This prevents accidentally locking yourself out of the system.

AI & Scheduler Settings (Admin Only)

Testing AI Summary Generation

Use the Settings tab to test the AI integration:

  1. Go to Settings tab
  2. Enter a test article title and URL
  3. Click "Generate Summary"
  4. Review the AI-generated summary

Configuring the Scheduler

The scheduler can automatically generate content at scheduled times:

  1. Navigate to Settings tab
  2. Scroll to "Scheduler Configuration"
  3. Toggle "Enable Scheduler" to activate
  4. Set the time (in EST) for daily execution
  5. Set article count (how many to generate)
  6. Customize the AI prompt if desired
  7. Click "Save Settings"

Perplexity API Required

AI features require a valid Perplexity API key configured in the system environment. Contact your system administrator if AI features are not working.

Deleting Content (Admin Only)

Admins can permanently delete artifacts:

  1. Find the artifact in the Artifacts tab
  2. Click the red trash button
  3. Confirm deletion

Warning

Deletion is permanent and cannot be undone. Consider rejecting artifacts instead of deleting them to maintain an audit trail.

Platform Features

Core Features

Dynamic Artifact Types

Create custom artifact types with their own metadata fields. Forms adapt automatically!

AI Summaries

Generate summaries automatically using Perplexity AI. Save time and maintain consistency.

Role-Based Access

Three-tier permission system ensures proper content workflow and security.

Powerful Search

Real-time search with multiple filters. Find exactly what you're looking for.

Click Analytics

Track engagement with every artifact. See what content resonates with your audience.

RSS Feed

Auto-generated RSS feed keeps subscribers updated automatically.

Smart Tagging

Organize content with colorful tags. Filter by topic with one click.

Responsive Design

Works perfectly on desktop, tablet, and mobile devices.

Understanding Artifact Types

Artifact types are pre-configured categories with custom metadata fields. Here are the default types:

Artifact Type Icon Use For Custom Fields
CO State Bill Colorado legislation Bill Number, Chamber, Status
Local News News articles Outlet, Author
CO Environmental Report Environmental studies Organization, Report Date
X/Twitter Social media posts Author
Research Paper Academic research Authors, Journal, Publication Date
YouTube Video content Channel, Duration
Blog Post Blog articles Author, Site
GitHub Repo Code repositories Stars, Language

Advanced Features

Click Tracking

Every artifact uses a redirect URL that:

  • Logs click metadata (timestamp, IP, user agent, referrer)
  • Redirects users to the actual URL
  • Stores the last 100 clicks per artifact
  • Powers the analytics dashboard

Content Workflow

The platform enforces a quality-focused workflow:

  1. Submit - Contributors submit artifacts (status: pending)
  2. Review - Editors review submissions for accuracy and relevance
  3. Approve/Reject - Editors approve quality content or reject inappropriate submissions
  4. Publish - Approved artifacts appear on the public site immediately

RSS Feed

The RSS feed is automatically generated and includes:

  • Only approved artifacts
  • Full titles and summaries
  • Custom metadata in descriptions
  • Redirect URLs for click tracking
  • Updates in real-time

Subscribe at: https://destroyingcolorado.com/rss.xml

Frequently Asked Questions

How do I change my password?

Contact your administrator to reset your password. For security reasons, password changes must be done by an admin.

Why can't I see the Users tab?

The Users tab is only visible to users with the Admin role. If you need access, contact your administrator.

Why isn't my artifact appearing on the public site?

Artifacts must have "approved" status to appear publicly. If you're a Contributor, your submissions need to be approved by an Editor or Admin first. Check the Artifacts tab to see your submission's status.

Can I delete an artifact I submitted?

Contributors cannot delete artifacts - only Admins have this ability. You can edit your submissions or ask an Editor/Admin to reject or delete them.

How does AI summary generation work?

The platform uses Perplexity AI to analyze the content at the URL you provide and generate a 1-2 sentence summary. You can always edit the AI-generated summary before saving.

What happens if I click "Generate with AI" but nothing happens?

This usually means the Perplexity API key is not configured or has expired. Contact your administrator. You can still manually write summaries.

Can I create my own artifact types?

Only Editors and Admins can create and manage artifact types. If you need a new artifact type, contact an Editor or Admin with your requirements.

How many tags should I add to an artifact?

Add 2-5 relevant tags per artifact. Too few makes filtering less useful, too many makes tags less meaningful. Focus on the most important topics covered.

What's the difference between Summary and Comments?

Summary is public and appears on the artifact card. Comments are internal notes visible only in the admin panel - use them for editorial notes or context.

Can I edit an artifact after it's been approved?

Yes! Editors and Admins can edit any artifact at any time. Just click the edit button, make your changes, and save. Changes appear immediately.

How do I find the Font Awesome icon class for an artifact type?

Visit fontawesome.com/icons, search for an icon, and copy the class (e.g., "fa-solid fa-landmark"). Paste this into the Icon field when creating an artifact type.

What's the scheduler used for?

The scheduler (Admin only) can automatically fetch and create artifacts at scheduled times using AI. This is useful for daily content generation, but requires careful configuration.

Troubleshooting

Common Issues

Can't log in / "Invalid credentials" error

Possible causes:

  • Wrong username or password
  • Account has been deactivated
  • Browser cookies are disabled

Solutions:

  • Double-check your credentials (usernames are case-sensitive)
  • Contact your administrator to verify your account is active
  • Enable cookies in your browser settings
  • Try a different browser
  • Clear your browser cache and cookies

"Error loading data" message in admin panel

Possible causes:

  • Network connectivity issue
  • Server is down or restarting
  • Session expired

Solutions:

  • Check your internet connection
  • Refresh the page
  • Log out and log back in
  • Contact your administrator if the issue persists

AI summary generation fails

Possible causes:

  • Perplexity API key not configured
  • API key has expired or reached rate limit
  • URL cannot be accessed by the AI
  • Network timeout

Solutions:

  • Contact your administrator to verify API configuration
  • Wait a few minutes and try again (rate limits reset)
  • Make sure the URL is publicly accessible
  • Write the summary manually as a fallback

Custom metadata fields not appearing

Possible causes:

  • No artifact type selected
  • Artifact type has no metadata schema defined
  • Browser JavaScript error

Solutions:

  • Make sure you've selected an artifact type from the dropdown
  • Check if the artifact type has custom fields (edit the artifact type to verify)
  • Check browser console for JavaScript errors (F12 → Console tab)
  • Refresh the page

Search not working or showing no results

Possible causes:

  • No content matches your search
  • Filters are too restrictive
  • JavaScript error

Solutions:

  • Try a broader search term
  • Clear all filters and try again
  • Check if there are any approved artifacts in the system
  • Refresh the page

Changes not appearing on public site

Possible causes:

  • Browser cache showing old version
  • Link status is not "approved"
  • Changes still saving

Solutions:

  • Hard refresh the page (Ctrl+Shift+R or Cmd+Shift+R)
  • Verify the link status is "approved" in the admin panel
  • Wait a few seconds and refresh
  • Clear browser cache

Getting Help

If you're experiencing issues not covered here:

  1. Check your browser console - Press F12 and look in the Console tab for error messages
  2. Try a different browser - Sometimes browser-specific issues occur
  3. Document the issue - Note what you were doing when the error occurred
  4. Contact your administrator - Provide them with:
    • What you were trying to do
    • What happened instead
    • Any error messages you saw
    • Your username and role
    • Browser and device information

For System Administrators

If you're the system administrator troubleshooting server issues, check:

  • Service status: ./manage.sh status
  • Application logs: ./manage.sh logs
  • Nginx logs: sudo tail -f /var/log/nginx/error.log
  • Environment variables in .env file
  • File permissions: ./fix-permissions.sh