<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:uix="http://projectmallard.org/experimental/ui/" type="topic" id="initial-state-placeholder" xml:lang="sv">

  <info>
    <link type="guide" xref="patterns#secondary"/>
    <desc>Image and text shown when an application is initially empty</desc>
    <credit type="author">
      <name>Allan Day</name>
      <email>aday@gnome.org</email>
    </credit>
    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Anders Jonsson</mal:name>
      <mal:email>anders.jonsson@norsjovallen.se</mal:email>
      <mal:years>2015, 2018</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Sebastian Rasmussen</mal:name>
      <mal:email>sebras@gmail.com</mal:email>
      <mal:years>2017, 2018</mal:years>
    </mal:credit>
  </info>

<title>Initial state placeholders</title>

<media type="image" mime="image/svg" src="figures/patterns/initial-state-placeholder.svg"/>

<p>An initial state placeholder is an image and text which fills the space in an application that has never contained any content.</p>

<section id="when-to-use">
<title>När ska de användas</title>

<p>In some cases an application might be empty until a user adds some content to it. In these scenarios, an initial state can be used to provide a rich and inviting experience. This helps to avoid the first use of the application being downbeat and unwelcoming.</p>

<p>An initial state placeholder should only be used when an application is going to be unavoidably empty. In many cases it is often better to pre-populate the application.</p>

</section>

<section id="guidelines">
<title>Riktlinjer</title>

<list>
<item><p>Följ standardlayouten för storlek och placering av bilder och etiketter så att ditt program är konsekvent med andra GNOME 3-program.</p></item>
<item><p>The imagery used should be rich and colorful.</p></item>
<item><p>The text that accompanies the image should be positive and upbeat. This is a moment where you can sell your application and establish a positive identity for it. It can also be an opportunity to strike up a relationship with the user by addressing them directly.</p></item>
<item><p>Om det finns andra komponenter som tillåter att objekt läggs till så kan det vara lämpligt att markera dem med en <link xref="buttons#suggested-and-destructive">föreslagen stil</link> då listan/rutnätet är tomt.</p></item>
<item><p>While an application is initially empty, some controls don't serve a purpose (such as those for browsing content, changing view, or searching). Making these controls insensitive will help to avoid the user being disappointed, or trying features that won't work.</p></item>
<item><p>An initial state should persevere until content is added to the application, after which it should not be seen again. If the application becomes empty subsequently, an <link xref="empty-placeholder">empty state can be used</link>.</p></item>
</list>

</section>

</page>
