export const SECTION_ITEMS = [
  { id: 'how-uploading-works', label: 'How uploading works' },
  { id: 'prepare-before-upload', label: 'What to prepare' },
  { id: 'personal-vs-group', label: 'Personal vs Group upload' },
  { id: 'draft-flow', label: 'Draft flow' },
  { id: 'publish-flow', label: 'Publish flow' },
  { id: 'file-preview-metadata', label: 'File, preview, metadata' },
  { id: 'contributor-credit', label: 'Contributor credit' },
  { id: 'best-practices', label: 'Best practices' },
  { id: 'common-mistakes', label: 'Common mistakes' },
  { id: 'faq', label: 'FAQ' },
  { id: 'troubleshooting', label: 'Troubleshooting' },
  { id: 'related-help', label: 'Related help' },
]

export const HERO_METRICS = [
  {
    label: 'Core idea',
    value: 'Guided workflow, not raw submission',
    note: 'Uploading is more than sending a file. It includes draft setup, metadata, previews, context, and publishing checks.',
  },
  {
    label: 'Most common mistake',
    value: 'Wrong context at publish time',
    note: 'Personal and Group uploads can look similar, but the published identity and review behavior can be very different.',
  },
  {
    label: 'Safest habit',
    value: 'Review before final publish',
    note: 'Drafts exist to help you finish details before the public version goes live.',
  },
]

export const WORKFLOW_STEPS = [
  {
    title: 'Start the upload',
    description: 'Begin with the file you want to publish and confirm whether the upload belongs to your personal identity or to a Group context.',
  },
  {
    title: 'The file is received',
    description: 'Skinbase accepts the file and starts turning the upload into a manageable workspace item instead of sending it public immediately.',
  },
  {
    title: 'A draft is created',
    description: 'Uploads usually start as drafts so you can review details, context, credits, and presentation before publishing.',
  },
  {
    title: 'Processing and previews happen',
    description: 'Previews or processing steps may run so the upload is easier to review and present clearly.',
  },
  {
    title: 'Metadata is completed',
    description: 'Titles, descriptions, tags, categories, and other public-facing details are finalized while the upload is still safe to edit.',
  },
  {
    title: 'Context and contributors are checked',
    description: 'Before publishing, verify whether the work belongs to you or a Group and make sure contributor credit reflects the real people behind the upload.',
  },
  {
    title: 'Publish or submit for review',
    description: 'Once the upload is ready, it is either published or routed into review depending on the workflow and permissions involved.',
  },
]

export const PREP_ITEMS = [
  'Final file you actually want people to see, not a rough placeholder.',
  'Clear title and description so the upload is understandable without extra cleanup later.',
  'Tags and categories if they apply to the content type you are publishing.',
  'Contributor information for collaborative work, especially if a Group is involved.',
  'The correct publish context: personal or Group.',
  'A good preview mindset so the public version feels intentional and discoverable.',
]

export const UPLOAD_COMPARISON_COLUMNS = [
  { key: 'topic', label: 'Topic' },
  { key: 'personal', label: 'Personal upload' },
  { key: 'group', label: 'Group upload' },
]

export const UPLOAD_COMPARISON_ROWS = [
  {
    id: 'published-as',
    topic: 'Published identity',
    personal: 'The work publishes under your personal creator identity.',
    group: 'The work publishes under the Group identity.',
  },
  {
    id: 'credit',
    topic: 'Human credit',
    personal: 'Your own authorship and upload role are usually straightforward.',
    group: 'Contributor credit still matters. Group identity does not replace human authorship.',
  },
  {
    id: 'permissions',
    topic: 'Why behavior can differ',
    personal: 'You usually control the full flow yourself.',
    group: 'Roles, review queues, and approvals may affect whether you can publish directly.',
  },
  {
    id: 'drafts',
    topic: 'Draft handling',
    personal: 'Drafts stay in your personal workspace until you finish them.',
    group: 'Drafts may be part of a team review flow before they are publicly published.',
  },
]

export const DRAFT_FLOW_ITEMS = [
  'Uploads usually begin as drafts so you can finish details without rushing a public release.',
  'Drafts are where metadata, context, previews, and contributor setup are reviewed.',
  'Drafts may still be processing while you are working on the rest of the upload.',
  'Incomplete drafts can be left temporarily, but they are best finished quickly so the workspace stays clean.',
  'In Group workflows, drafts may be submitted for review instead of publishing directly.',
]

export const PUBLISH_FLOW_ITEMS = [
  'Publishing should happen after file review, metadata review, and context confirmation.',
  'You should verify titles, descriptions, previews, and contributor information before the final step.',
  'Some Groups may route the upload into review instead of publishing immediately.',
  'Publishing under the wrong context is one of the most common avoidable mistakes.',
]

export const FILE_METADATA_ITEMS = [
  'Previews matter because people often decide whether to open or trust a piece based on its first impression.',
  'Metadata matters because clear titles and descriptions help the work feel intentional and improve discoverability.',
  'Final review matters because small mistakes feel much bigger after the upload is public.',
  'Taking a minute to review the presentation is usually faster than correcting avoidable problems later.',
]

export const CREDIT_EXAMPLE = [
  { label: 'Published by', value: 'Nightshift Collective' },
  { label: 'Uploaded by', value: 'Gregor' },
  { label: 'Primary author', value: 'Gregor' },
  { label: 'Contributors', value: 'Paula, Denis' },
]

export const CREDIT_BULLETS = [
  'Group uploads still preserve human credit.',
  'Primary author should reflect the main author of the work, not just the person who clicked upload.',
  'Uploaded by and published identity are not always the same thing.',
  'Contributor lists should be intentional, accurate, and checked before publish.',
]

export const BEST_PRACTICES = [
  'Prepare metadata before you start uploading whenever possible.',
  'Use strong files and previews so the public result feels finished.',
  'Check the publishing context before the final publish step.',
  'Do not rush final publish just because the file is already in the system.',
  'Give proper contributor credit for collaborative work.',
  'Keep drafts organized and return to incomplete uploads quickly.',
]

export const COMMON_MISTAKES = [
  'Uploading under the wrong context and only noticing after publish.',
  'Forgetting contributor credit during a collaborative upload.',
  'Leaving metadata empty because the file itself looked finished.',
  'Abandoning drafts until the workspace becomes cluttered.',
  'Trying to publish before everything has been reviewed clearly.',
  'Misunderstanding review queue behavior in Group workflows.',
]

export const FAQ_ITEMS = [
  {
    question: 'How does upload work on Skinbase?',
    answer: 'Uploads move through a guided workflow. The file is received, a draft is created, previews or processing may happen, metadata is completed, context and contributor credit are reviewed, and then the work is published or submitted for review.',
  },
  {
    question: 'Why is my upload a draft first?',
    answer: 'Draft-first flow gives you a safe place to finish titles, descriptions, previews, context, and credit before the public version goes live.',
  },
  {
    question: 'Can I upload for a Group?',
    answer: 'Yes, if your Group role and workflow allow it. Just make sure the active context is the Group and that contributor credit is set correctly before final publish.',
  },
  {
    question: 'Why can’t I publish immediately?',
    answer: 'You may still need to finish metadata, wait for processing, confirm context, or pass through a review flow if the upload belongs to a Group workflow.',
  },
  {
    question: 'What should I do before publishing?',
    answer: 'Check file quality, previews, metadata, tags, context, and contributor credit. Publishing should be the last review step, not the first one.',
  },
  {
    question: 'What happens if my upload is incomplete?',
    answer: 'It can stay as a draft until you return and finish it, but it is best to complete incomplete drafts quickly so the workspace stays manageable.',
  },
  {
    question: 'Can I come back later?',
    answer: 'Yes. Drafts exist so you can return later, but do not let unfinished uploads pile up without clear intent.',
  },
]

export const TROUBLESHOOTING_ITEMS = [
  {
    title: 'My upload is stuck',
    body: 'Give processing a moment, then reopen the upload through Studio or the upload flow. If it still feels stuck, escalate instead of repeatedly retrying blindly.',
    linkKey: 'upload',
    linkLabel: 'Open upload flow',
  },
  {
    title: 'Preview is missing',
    body: 'Preview issues are often a sign that the upload is still processing or that you need to re-open the draft and review the current state before publishing.',
    linkKey: 'studio_drafts',
    linkLabel: 'Open drafts',
  },
  {
    title: 'I can’t publish',
    body: 'Check whether the issue is unfinished metadata, wrong context, or a Group review workflow that prevents direct publishing.',
    linkKey: 'groups_faq',
    linkLabel: 'Read Groups FAQ',
  },
  {
    title: 'I uploaded under the wrong context',
    body: 'Review the draft or published item immediately, then correct the personal-versus-Group context before more workflow steps build on top of the mistake.',
    linkKey: 'studio_help',
    linkLabel: 'Read Studio help',
  },
  {
    title: 'My Group submission went into review',
    body: 'That usually means the Group workflow expects approval before public publishing. This is often intentional, not a failure.',
    linkKey: 'groups_help',
    linkLabel: 'Read Groups help',
  },
  {
    title: 'I can’t find my draft',
    body: 'Draft confusion usually comes from checking the wrong context. Confirm whether the upload belongs to your personal workspace or a Group.',
    linkKey: 'studio_drafts',
    linkLabel: 'Open drafts',
  },
  {
    title: 'Upload failed',
    body: 'If the upload repeatedly fails, stop retrying blindly and use support or bug reporting with a clear description of what happened.',
    linkKey: 'report_issue',
    linkLabel: 'Report issue',
  },
]

export const RELATED_HELP_ITEMS = [
  {
    eyebrow: 'Live help',
    title: 'Studio help',
    body: 'Use the Studio guide to understand the wider workspace where drafts, content management, and publishing decisions live.',
    linkKey: 'studio_help',
    tone: 'sky',
  },
  {
    eyebrow: 'Live help',
    title: 'Groups help',
    body: 'Use the Groups guide if the upload belongs to a shared identity, needs contributor credit, or goes through Group review.',
    linkKey: 'groups_help',
    tone: 'amber',
  },
  {
    eyebrow: 'Live help',
    title: 'Profile help',
    body: 'Use the Profile guide if upload confusion is really about creator identity, presentation, or how your public presence should look after publishing.',
    linkKey: 'help_profile',
    tone: 'white',
  },
  {
    eyebrow: 'Live help',
    title: 'Cards help',
    body: 'Use the Cards guide when the question is really about presentation content, Card creation, or choosing Cards instead of artworks or posts.',
    linkKey: 'help_cards',
    tone: 'white',
  },
]